diff options
Diffstat (limited to 'testsuites/psxtests/psxhdrs/cond08.c')
-rw-r--r-- | testsuites/psxtests/psxhdrs/cond08.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/testsuites/psxtests/psxhdrs/cond08.c b/testsuites/psxtests/psxhdrs/cond08.c index 14cdba340b..a1267e4a33 100644 --- a/testsuites/psxtests/psxhdrs/cond08.c +++ b/testsuites/psxtests/psxhdrs/cond08.c @@ -25,13 +25,15 @@ #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; int result; result = pthread_condattr_getpshared( &attribute, &pshared ); + + return result; } |