diff options
Diffstat (limited to 'testsuites/psxtests/psxhdrs/timer04.c')
-rw-r--r-- | testsuites/psxtests/psxhdrs/timer04.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/testsuites/psxtests/psxhdrs/timer04.c b/testsuites/psxtests/psxhdrs/timer04.c index 0ad6bafe09..050482d374 100644 --- a/testsuites/psxtests/psxhdrs/timer04.c +++ b/testsuites/psxtests/psxhdrs/timer04.c @@ -22,13 +22,15 @@ #error "rtems is supposed to have timer_gettime" #endif -void test( void ); +int test( void ); -void test( void ) +int test( void ) { timer_t timerid = 0; struct itimerspec value; int result; result = timer_gettime( timerid, &value ); + + return result; } |