summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxhdrs/pthread23.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/psxtests/psxhdrs/pthread23.c')
-rw-r--r--testsuites/psxtests/psxhdrs/pthread23.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/testsuites/psxtests/psxhdrs/pthread23.c b/testsuites/psxtests/psxhdrs/pthread23.c
index 9a3fde4ca4..a2f7f87015 100644
--- a/testsuites/psxtests/psxhdrs/pthread23.c
+++ b/testsuites/psxtests/psxhdrs/pthread23.c
@@ -22,9 +22,9 @@
#error "RTEMS is supposed to have pthread_getschedparam"
#endif
-void test( void );
+int test( void );
-void test( void )
+int test( void )
{
pthread_t thread = 0;
int policy;
@@ -32,4 +32,6 @@ void test( void )
int result;
result = pthread_getschedparam( thread, &policy, &param );
+
+ return result;
}