diff options
Diffstat (limited to 'testsuites/psxtests/psxhdrs/signal23.c')
-rw-r--r-- | testsuites/psxtests/psxhdrs/signal23.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/testsuites/psxtests/psxhdrs/signal23.c b/testsuites/psxtests/psxhdrs/signal23.c index a7e7a48e76..95882b9376 100644 --- a/testsuites/psxtests/psxhdrs/signal23.c +++ b/testsuites/psxtests/psxhdrs/signal23.c @@ -22,9 +22,9 @@ * POSIX.1-2008 removes the specification of ualarm(). */ useconds_t _EXFUN(ualarm, (useconds_t __useconds, useconds_t __interval)); -void test( void ); +int test( void ); -void test( void ) +int test( void ) { useconds_t useconds; useconds_t interval; @@ -34,4 +34,6 @@ void test( void ) interval = 10; result = ualarm( useconds, interval ); + + return (result == 0) ? 0 : -1; } |