diff options
Diffstat (limited to 'testsuites/psxtests/psxhdrs/pthread05.c')
-rw-r--r-- | testsuites/psxtests/psxhdrs/pthread05.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/testsuites/psxtests/psxhdrs/pthread05.c b/testsuites/psxtests/psxhdrs/pthread05.c index d3c8695961..2bc3854c19 100644 --- a/testsuites/psxtests/psxhdrs/pthread05.c +++ b/testsuites/psxtests/psxhdrs/pthread05.c @@ -27,9 +27,9 @@ #error "rtems is supposed to have pthread_setstacksize" #endif -void test( void ); +int test( void ); -void test( void ) +int test( void ) { pthread_attr_t attribute; size_t size; @@ -38,4 +38,6 @@ void test( void ) size = PTHREAD_STACK_MIN; result = pthread_attr_setstacksize( &attribute, size ); + + return result; } |