diff options
Diffstat (limited to 'testsuites/psxtests/psxhdrs/pthread06.c')
-rw-r--r-- | testsuites/psxtests/psxhdrs/pthread06.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/testsuites/psxtests/psxhdrs/pthread06.c b/testsuites/psxtests/psxhdrs/pthread06.c index b354da6085..adfc8338e7 100644 --- a/testsuites/psxtests/psxhdrs/pthread06.c +++ b/testsuites/psxtests/psxhdrs/pthread06.c @@ -26,13 +26,15 @@ #error "rtems is supposed to have pthread_getstacksize" #endif -void test( void ); +int test( void ); -void test( void ) +int test( void ) { pthread_attr_t attribute; size_t size; int result; result = pthread_attr_getstacksize( &attribute, &size ); + + return result; } |