summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxhdrs/cond09.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/psxtests/psxhdrs/cond09.c')
-rw-r--r--testsuites/psxtests/psxhdrs/cond09.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/testsuites/psxtests/psxhdrs/cond09.c b/testsuites/psxtests/psxhdrs/cond09.c
index 688cb93daa..380af38d07 100644
--- a/testsuites/psxtests/psxhdrs/cond09.c
+++ b/testsuites/psxtests/psxhdrs/cond09.c
@@ -25,9 +25,9 @@
#error "rtems is supposed to have pthread_condattr_setpshared"
#endif
-void test( void );
+int test( void );
-void test( void )
+int test( void )
{
pthread_condattr_t attribute;
int pshared;
@@ -37,4 +37,6 @@ void test( void )
pshared = PTHREAD_PROCESS_PRIVATE;
result = pthread_condattr_setpshared( &attribute, pshared );
+
+ return result;
}