diff options
Diffstat (limited to 'testsuites/psxtests/psxhdrs/pthread09.c')
-rw-r--r-- | testsuites/psxtests/psxhdrs/pthread09.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/testsuites/psxtests/psxhdrs/pthread09.c b/testsuites/psxtests/psxhdrs/pthread09.c index 8e0b910f36..a4a88326e4 100644 --- a/testsuites/psxtests/psxhdrs/pthread09.c +++ b/testsuites/psxtests/psxhdrs/pthread09.c @@ -22,11 +22,13 @@ #error "rtems is supposed to have pthread_self" #endif -void test( void ); +int test( void ); -void test( void ) +int test( void ) { pthread_t self; self = pthread_self(); + + return ( self != 0 ); } |