Resync with OpenBSD by pulling in an ifdef SIGINFO.

This commit is contained in:
Darren Tucker 2018-11-22 19:59:28 +11:00
parent 28c7b2cd05
commit deb51552c3
1 changed files with 2 additions and 0 deletions

View 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)