diff options
Diffstat (limited to 'testsuites/psxtests/psxhdrs/timer06.c')
-rw-r--r-- | testsuites/psxtests/psxhdrs/timer06.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/testsuites/psxtests/psxhdrs/timer06.c b/testsuites/psxtests/psxhdrs/timer06.c index 0a1af0e597..81ef1d744a 100644 --- a/testsuites/psxtests/psxhdrs/timer06.c +++ b/testsuites/psxtests/psxhdrs/timer06.c @@ -22,9 +22,9 @@ #error "rtems is supposed to have nanosleep" #endif -void test( void ); +int test( void ); -void test( void ) +int test( void ) { struct timespec rqtp; struct timespec rmtp; @@ -33,4 +33,6 @@ void test( void ) rqtp.tv_sec = 0; rqtp.tv_nsec = 0; result = nanosleep( &rqtp, &rmtp ); + + return result; } |