diff options
Diffstat (limited to 'testsuites/psxtests/psxhdrs/pthread21.c')
-rw-r--r-- | testsuites/psxtests/psxhdrs/pthread21.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/testsuites/psxtests/psxhdrs/pthread21.c b/testsuites/psxtests/psxhdrs/pthread21.c index e33150cb68..1ba91a9f1c 100644 --- a/testsuites/psxtests/psxhdrs/pthread21.c +++ b/testsuites/psxtests/psxhdrs/pthread21.c @@ -22,13 +22,15 @@ #error "rtems is supposed to have pthread_detach" #endif -void test( void ); +int test( void ); -void test( void ) +int test( void ) { pthread_t thread; int result; thread = 0; result = pthread_detach( thread ); + + return result; } |