diff options
Diffstat (limited to 'testsuites/psxtests/psxhdrs/pthread30.c')
-rw-r--r-- | testsuites/psxtests/psxhdrs/pthread30.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/testsuites/psxtests/psxhdrs/pthread30.c b/testsuites/psxtests/psxhdrs/pthread30.c index 4c082c4e51..6902a2934f 100644 --- a/testsuites/psxtests/psxhdrs/pthread30.c +++ b/testsuites/psxtests/psxhdrs/pthread30.c @@ -22,14 +22,14 @@ #error "rtems is supposed to have pthread_setcanceltype" #endif -void test( void ); +int test( void ); void init_routine( void ); void init_routine( void ) { } -void test( void ) +int test( void ) { int type; int oldtype; @@ -39,4 +39,6 @@ void test( void ) type = PTHREAD_CANCEL_ASYNCHRONOUS; result = pthread_setcanceltype( type, &oldtype ); + + return result; } |