summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@cvs.openbsd.org>2018-11-23 02:53:58 +0000
committerDarren Tucker <dtucker@cvs.openbsd.org>2018-11-23 02:53:58 +0000
commita7a128739543c986ac84f946dfc2b4839ecedeb8 (patch)
treec232b882ee9cf5f79b0f19e14ce9f40fe8df2cd6
parent471845a341fceabc401fe7f6d2ca619b1116dc17 (diff)
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.
-rw-r--r--regress/usr.bin/ssh/unittests/test_helper/test_helper.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/regress/usr.bin/ssh/unittests/test_helper/test_helper.c b/regress/usr.bin/ssh/unittests/test_helper/test_helper.c
index d74120a4d94..6188e60b2a9 100644
--- a/regress/usr.bin/ssh/unittests/test_helper/test_helper.c
+++ b/regress/usr.bin/ssh/unittests/test_helper/test_helper.c
@@ -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>
*
@@ -204,7 +204,6 @@ test_info(char *s, size_t len)
*subtest_info != '\0' ? " - " : "", subtest_info);
}
-#ifdef SIGINFO
static void
siginfo(int unused __attribute__((__unused__)))
{
@@ -213,7 +212,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)