mirror of git://anongit.mindrot.org/openssh.git
upstream: Remove now-unneeded ifdef SIGINFO around handler since it is
now always used for SIGUSR1 even when SIGINFO is not defined. This will make things simpler in -portable. OpenBSD-Regress-ID: 4ff0265b335820b0646d37beb93f036ded0dc43f
This commit is contained in:
parent
c721d58775
commit
4da58d5873
|
@ -1,4 +1,4 @@
|
|||
/* $OpenBSD: test_helper.c,v 1.10 2018/11/22 08:59:11 dtucker Exp $ */
|
||||
/* $OpenBSD: test_helper.c,v 1.11 2018/11/23 02:53:57 dtucker Exp $ */
|
||||
/*
|
||||
* Copyright (c) 2011 Damien Miller <djm@mindrot.org>
|
||||
*
|
||||
|
@ -228,7 +228,6 @@ test_info(char *s, size_t len)
|
|||
*subtest_info != '\0' ? " - " : "", subtest_info);
|
||||
}
|
||||
|
||||
#ifdef SIGINFO
|
||||
static void
|
||||
siginfo(int unused __attribute__((__unused__)))
|
||||
{
|
||||
|
@ -237,7 +236,6 @@ siginfo(int unused __attribute__((__unused__)))
|
|||
test_info(buf, sizeof(buf));
|
||||
atomicio(vwrite, STDERR_FILENO, buf, strlen(buf));
|
||||
}
|
||||
#endif
|
||||
|
||||
void
|
||||
test_start(const char *n)
|
||||
|
|
Loading…
Reference in New Issue