diff options
Diffstat (limited to 'rt/tst-aio3.c')
-rw-r--r-- | rt/tst-aio3.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/rt/tst-aio3.c b/rt/tst-aio3.c index b5bd370..ea25777 100644 --- a/rt/tst-aio3.c +++ b/rt/tst-aio3.c @@ -26,14 +26,14 @@ int flag; -void +static void thrfct (sigval_t arg) { flag = 1; } -int +static int do_test (int argc, char *argv[]) { char name[] = "/tmp/aio3.XXXXXX"; @@ -74,7 +74,7 @@ do_test (int argc, char *argv[]) printf ("aio_suspend failed: %m\n"); return 1; } - + if (flag != 0) { puts ("thread created, should not have happened"); |