summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxhdrs/sched01.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/psxtests/psxhdrs/sched01.c')
-rw-r--r--testsuites/psxtests/psxhdrs/sched01.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/testsuites/psxtests/psxhdrs/sched01.c b/testsuites/psxtests/psxhdrs/sched01.c
index 3765697c77..e5e9e3e75f 100644
--- a/testsuites/psxtests/psxhdrs/sched01.c
+++ b/testsuites/psxtests/psxhdrs/sched01.c
@@ -22,9 +22,9 @@
#error "rtems is supposed to have sched_setparam"
#endif
-void test( void );
+int test( void );
-void test( void )
+int test( void )
{
pid_t pid;
struct sched_param param;
@@ -46,4 +46,6 @@ void test( void )
#endif
result = sched_setparam( pid, &param );
+
+ return result;
}