diff options
Diffstat (limited to 'testsuites/psxtests/psxhdrs/cond03.c')
-rw-r--r-- | testsuites/psxtests/psxhdrs/cond03.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/testsuites/psxtests/psxhdrs/cond03.c b/testsuites/psxtests/psxhdrs/cond03.c index dd36af21a2..05b0b01488 100644 --- a/testsuites/psxtests/psxhdrs/cond03.c +++ b/testsuites/psxtests/psxhdrs/cond03.c @@ -22,13 +22,15 @@ #error "rtems is supposed to have pthread_cond_init" #endif -void test( void ); +int test( void ); -void test( void ) +int test( void ) { pthread_cond_t cond = PTHREAD_COND_INITIALIZER; pthread_condattr_t attribute; int result; result = pthread_cond_init( &cond, &attribute ); + + return result; } |