mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-01-01 02:30:08 +01:00
test: Make os test more compliant
sighandler_t is not UNIX.
Regression from: 7f09126e06
Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
a557edca61
commit
b90b3f6eac
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue