summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxhdrs/pthread16.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/psxtests/psxhdrs/pthread16.c')
-rw-r--r--testsuites/psxtests/psxhdrs/pthread16.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/testsuites/psxtests/psxhdrs/pthread16.c b/testsuites/psxtests/psxhdrs/pthread16.c
index 333f342074..c2f0bf92bf 100644
--- a/testsuites/psxtests/psxhdrs/pthread16.c
+++ b/testsuites/psxtests/psxhdrs/pthread16.c
@@ -22,13 +22,15 @@
#error "RTEMS is supposed to have pthread_attr_getinheritsched"
#endif
-void test( void );
+int test( void );
-void test( void )
+int test( void )
{
pthread_attr_t attr;
int inheritsched;
int result;
result = pthread_attr_getinheritsched( &attr, &inheritsched );
+
+ return result;
}