diff options
Diffstat (limited to 'testsuites/psxtests/psxhdrs/pthread40.c')
-rw-r--r-- | testsuites/psxtests/psxhdrs/pthread40.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/testsuites/psxtests/psxhdrs/pthread40.c b/testsuites/psxtests/psxhdrs/pthread40.c index 6a0dc85a91..f790639c0a 100644 --- a/testsuites/psxtests/psxhdrs/pthread40.c +++ b/testsuites/psxtests/psxhdrs/pthread40.c @@ -23,14 +23,16 @@ #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_getguardsize( &attribute, &size ); + + return result; } #endif |