diff options
Diffstat (limited to 'testsuites/psxtests/psxhdrs/mutex09.c')
-rw-r--r-- | testsuites/psxtests/psxhdrs/mutex09.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/testsuites/psxtests/psxhdrs/mutex09.c b/testsuites/psxtests/psxhdrs/mutex09.c index dd94b857b7..13f978875b 100644 --- a/testsuites/psxtests/psxhdrs/mutex09.c +++ b/testsuites/psxtests/psxhdrs/mutex09.c @@ -25,13 +25,15 @@ #error "rtems is supposed to have pthread_mutexattr_setprioceiling" #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_setprioceiling( &attribute, prioceiling ); + + return result; } |