summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxhdrs/sched07.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/psxtests/psxhdrs/sched07.c')
-rw-r--r--testsuites/psxtests/psxhdrs/sched07.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/testsuites/psxtests/psxhdrs/sched07.c b/testsuites/psxtests/psxhdrs/sched07.c
index 462fecf7f1..3976816079 100644
--- a/testsuites/psxtests/psxhdrs/sched07.c
+++ b/testsuites/psxtests/psxhdrs/sched07.c
@@ -22,9 +22,9 @@
#error "rtems is supposed to have sched_get_priority_min"
#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_min( policy );
+
+ return result;
}