summaryrefslogtreecommitdiff
path: root/test/os.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/os.c')
-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);