diff options
Diffstat (limited to 'testsuites/psxtests/psxhdrs/sched02.c')
-rw-r--r-- | testsuites/psxtests/psxhdrs/sched02.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/testsuites/psxtests/psxhdrs/sched02.c b/testsuites/psxtests/psxhdrs/sched02.c index 5c6af17b18..d4fb475f8b 100644 --- a/testsuites/psxtests/psxhdrs/sched02.c +++ b/testsuites/psxtests/psxhdrs/sched02.c @@ -22,9 +22,9 @@ #error "rtems is supposed to have sched_getparam" #endif -void test( void ); +int test( void ); -void test( void ) +int test( void ) { pid_t pid; struct sched_param param; @@ -33,4 +33,6 @@ void test( void ) pid = 0; result = sched_getparam( pid, ¶m ); + + return result; } |