summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJeremy Huddleston Sequoia <jeremyhu@apple.com>2012-08-27 17:15:19 -0700
committerJeremy Huddleston <jeremyhu@apple.com>2012-08-27 22:10:05 -0700
commitb90b3f6eac34616c46ab693fafbf6b73a04f407b (patch)
treeb0d9e375509737a2e49e42b1896f93ad9a9d4c16 /test
parenta557edca6152ad09c685a00e01534c35a1f00f2e (diff)
test: Make os test more compliant
sighandler_t is not UNIX. Regression from: 7f09126e068015db54c56bb982b8f91065375700 Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'test')
-rw-r--r--test/os.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/os.c b/test/os.c
index 8f1107ded..2d005a0d4 100644
--- a/test/os.c
+++ b/test/os.c
@@ -149,7 +149,7 @@ static void block_sigio_test_nested(void)
tail guard
tail guard must be hit.
*/
- sighandler_t old_handler;
+ void (*old_handler)(int);
old_handler = signal(SIGIO, sighandler);
expect_signal = 1;
assert(raise(SIGIO) == 0);