]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
Resync with OpenBSD by pulling in an ifdef SIGINFO.
authorDarren Tucker <dtucker@dtucker.net>
Thu, 22 Nov 2018 08:59:28 +0000 (19:59 +1100)
committerDarren Tucker <dtucker@dtucker.net>
Fri, 23 Nov 2018 00:34:21 +0000 (11:34 +1100)
regress/unittests/test_helper/test_helper.c

index 6b4f343a88266a4bcd462ba4cde23431b18893ec..39bab77f54289c38132b4c776bd90d28f7b20bcc 100644 (file)
@@ -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)