diff options
Diffstat (limited to 'testsuites/psxtests/psxhdrs/pthread37.c')
-rw-r--r-- | testsuites/psxtests/psxhdrs/pthread37.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/testsuites/psxtests/psxhdrs/pthread37.c b/testsuites/psxtests/psxhdrs/pthread37.c index 12e5dadb55..66ed8aa992 100644 --- a/testsuites/psxtests/psxhdrs/pthread37.c +++ b/testsuites/psxtests/psxhdrs/pthread37.c @@ -28,9 +28,9 @@ #error "rtems is supposed to have pthread_setstackaddr" #endif -void test( void ); +int test( void ); -void test( void ) +int test( void ) { pthread_attr_t attribute; void *stackaddr; @@ -41,5 +41,7 @@ void test( void ) stacksize = 1024; result = pthread_attr_setstack( &attribute, stackaddr, stacksize ); + + return result; } #endif |