[PATCH xserver 1/1] test: Make os test more compliant

Jeremy Huddleston Sequoia jeremyhu at apple.com
Mon Aug 27 17:18:58 PDT 2012


sighandler_t is not UNIX.

Regression from: 7f09126e068015db54c56bb982b8f91065375700

Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu at apple.com>
CC: Peter Hutterer <peter.hutterer at who-t.net>
---
 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



More information about the xorg-devel mailing list