summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxhdrs/sched05.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/psxtests/psxhdrs/sched05.c')
-rw-r--r--testsuites/psxtests/psxhdrs/sched05.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/testsuites/psxtests/psxhdrs/sched05.c b/testsuites/psxtests/psxhdrs/sched05.c
index 8b54d42c68..ca531d7e62 100644
--- a/testsuites/psxtests/psxhdrs/sched05.c
+++ b/testsuites/psxtests/psxhdrs/sched05.c
@@ -22,11 +22,13 @@
#error "rtems is supposed to have sched_yield"
#endif
-void test( void );
+int test( void );
-void test( void )
+int test( void )
{
int result;
result = sched_yield();
+
+ return result;
}