From: Darren Tucker Date: Thu, 22 Nov 2018 08:59:28 +0000 (+1100) Subject: Resync with OpenBSD by pulling in an ifdef SIGINFO. X-Git-Tag: V_8_0_P1~211 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=deb51552c3ce7ce72c8d0232e4f36f2e7c118c7d;p=thirdparty%2Fopenssh-portable.git Resync with OpenBSD by pulling in an ifdef SIGINFO. --- diff --git a/regress/unittests/test_helper/test_helper.c b/regress/unittests/test_helper/test_helper.c index 6b4f343a8..39bab77f5 100644 --- a/regress/unittests/test_helper/test_helper.c +++ b/regress/unittests/test_helper/test_helper.c @@ -228,6 +228,7 @@ test_info(char *s, size_t len) *subtest_info != '\0' ? " - " : "", subtest_info); } +#ifdef SIGINFO static void siginfo(int unused __attribute__((__unused__))) { @@ -236,6 +237,7 @@ siginfo(int unused __attribute__((__unused__))) test_info(buf, sizeof(buf)); atomicio(vwrite, STDERR_FILENO, buf, strlen(buf)); } +#endif void test_start(const char *n)