summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxhdrs/sched04.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/psxtests/psxhdrs/sched04.c')
-rw-r--r--testsuites/psxtests/psxhdrs/sched04.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/testsuites/psxtests/psxhdrs/sched04.c b/testsuites/psxtests/psxhdrs/sched04.c
index 4f81ef44fd..704b83d884 100644
--- a/testsuites/psxtests/psxhdrs/sched04.c
+++ b/testsuites/psxtests/psxhdrs/sched04.c
@@ -22,9 +22,9 @@
#error "rtems is supposed to have sched_getscheduler"
#endif
-void test( void );
+int test( void );
-void test( void )
+int test( void )
{
pid_t pid;
int result;
@@ -32,4 +32,6 @@ void test( void )
pid = 0;
result = sched_getscheduler( pid );
+
+ return result;
}