summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordtucker <dtucker@openbsd.org>2018-11-23 02:53:57 +0000
committerdtucker <dtucker@openbsd.org>2018-11-23 02:53:57 +0000
commit2ef777a99d0c429eb273af22bbf5227d32e6a9a4 (patch)
tree88c2d4d7ddcdfd81e5ab3524f04d611b9b4bb527
parentMake alpha less special: _dl_boot_bind() is written to complete (diff)
downloadwireguard-openbsd-2ef777a99d0c429eb273af22bbf5227d32e6a9a4.tar.xz
wireguard-openbsd-2ef777a99d0c429eb273af22bbf5227d32e6a9a4.zip
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)