diff options
Diffstat (limited to 'testsuites/psxtests/psxhdrs/pthread36.c')
-rw-r--r-- | testsuites/psxtests/psxhdrs/pthread36.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/testsuites/psxtests/psxhdrs/pthread36.c b/testsuites/psxtests/psxhdrs/pthread36.c index ba4433a418..5bda0b5e10 100644 --- a/testsuites/psxtests/psxhdrs/pthread36.c +++ b/testsuites/psxtests/psxhdrs/pthread36.c @@ -28,13 +28,15 @@ extern int pthread_attr_getcputime( #error "rtems is supposed to have pthread_attr_getcputime" #endif -void test( void ); +int test( void ); -void test( void ) +int test( void ) { pthread_attr_t attr; int clock_allowed; int result; result = pthread_attr_getcputime( &attr, &clock_allowed ); + + return result; } |