diff options
Diffstat (limited to 'testsuites/psxtests/psxhdrs/sched08.c')
-rw-r--r-- | testsuites/psxtests/psxhdrs/sched08.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/testsuites/psxtests/psxhdrs/sched08.c b/testsuites/psxtests/psxhdrs/sched08.c index 905728010a..da0af8ddc7 100644 --- a/testsuites/psxtests/psxhdrs/sched08.c +++ b/testsuites/psxtests/psxhdrs/sched08.c @@ -22,9 +22,9 @@ #error "rtems is supposed to have sched_rr_get_interval" #endif -void test( void ); +int test( void ); -void test( void ) +int test( void ) { pid_t pid; struct timespec interval; @@ -33,4 +33,6 @@ void test( void ) pid = 0; result = sched_rr_get_interval( pid, &interval ); + + return result; } |