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