diff options
Diffstat (limited to 'testsuites/psxtests/psxhdrs/pthread04.c')
-rw-r--r-- | testsuites/psxtests/psxhdrs/pthread04.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/testsuites/psxtests/psxhdrs/pthread04.c b/testsuites/psxtests/psxhdrs/pthread04.c index 74b812e061..a3ebc8496a 100644 --- a/testsuites/psxtests/psxhdrs/pthread04.c +++ b/testsuites/psxtests/psxhdrs/pthread04.c @@ -22,13 +22,15 @@ #error "rtems is supposed to have pthread_attr_getdetachstate" #endif -void test( void ); +int test( void ); -void test( void ) +int test( void ) { pthread_attr_t attribute; int state; int result; result = pthread_attr_getdetachstate( &attribute, &state ); + + return result; } |