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