diff options
Diffstat (limited to 'testsuites/psxtests/psxhdrs/mutex08.c')
-rw-r--r-- | testsuites/psxtests/psxhdrs/mutex08.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/testsuites/psxtests/psxhdrs/mutex08.c b/testsuites/psxtests/psxhdrs/mutex08.c index cdfd1cae43..f88f5098ec 100644 --- a/testsuites/psxtests/psxhdrs/mutex08.c +++ b/testsuites/psxtests/psxhdrs/mutex08.c @@ -25,13 +25,15 @@ #error "rtems is supposed to have pthread_mutexattr_getprioceiling" #endif -void test( void ); +int test( void ); -void test( void ) +int test( void ) { pthread_mutexattr_t attribute; int prioceiling = 0; int result; result = pthread_mutexattr_getprioceiling( &attribute, &prioceiling ); + + return result; } |