diff options
Diffstat (limited to 'testsuites/psxtests/psxhdrs/pthread25.c')
-rw-r--r-- | testsuites/psxtests/psxhdrs/pthread25.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/testsuites/psxtests/psxhdrs/pthread25.c b/testsuites/psxtests/psxhdrs/pthread25.c index 3b0908b106..bb0a69278d 100644 --- a/testsuites/psxtests/psxhdrs/pthread25.c +++ b/testsuites/psxtests/psxhdrs/pthread25.c @@ -27,13 +27,15 @@ #error "rtems is supposed to have pthread_getstackaddr" #endif -void test( void ); +int test( void ); -void test( void ) +int test( void ) { pthread_attr_t attribute; void *stackaddr; int result; result = pthread_attr_getstackaddr( &attribute, &stackaddr ); + + return result; } |