diff options
Diffstat (limited to 'testsuites/psxtests/psxhdrs/pthread14.c')
-rw-r--r-- | testsuites/psxtests/psxhdrs/pthread14.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/testsuites/psxtests/psxhdrs/pthread14.c b/testsuites/psxtests/psxhdrs/pthread14.c index 5fb698c5b7..20f86b0171 100644 --- a/testsuites/psxtests/psxhdrs/pthread14.c +++ b/testsuites/psxtests/psxhdrs/pthread14.c @@ -22,13 +22,15 @@ #error "RTEMS is supposed to have pthread_attr_getscope" #endif -void test( void ); +int test( void ); -void test( void ) +int test( void ) { pthread_attr_t attr; int contentionscope; int result; result = pthread_attr_getscope( &attr, &contentionscope ); + + return result; } |