sighandler_t is not UNIX.

Regression from: 7f09126e068015db54c56bb982b8f91065375700

Signed-off-by: Jeremy Huddleston Sequoia <[email protected]>
CC: Peter Hutterer <[email protected]>
---
 test/os.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/os.c b/test/os.c
index 8f1107d..2d005a0 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);
-- 
1.7.11.5

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to