summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxhdrs/mutex16.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/psxtests/psxhdrs/mutex16.c')
-rw-r--r--testsuites/psxtests/psxhdrs/mutex16.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/testsuites/psxtests/psxhdrs/mutex16.c b/testsuites/psxtests/psxhdrs/mutex16.c
index ca986c0924..2b8db5e2d7 100644
--- a/testsuites/psxtests/psxhdrs/mutex16.c
+++ b/testsuites/psxtests/psxhdrs/mutex16.c
@@ -25,9 +25,9 @@
#error "rtems is supposed to have pthread_mutex_setprioceiling"
#endif
-void test( void );
+int test( void );
-void test( void )
+int test( void )
{
pthread_mutex_t mutex;
int prioceiling;
@@ -37,4 +37,6 @@ void test( void )
prioceiling = 0;
result = pthread_mutex_setprioceiling( &mutex, prioceiling, &oldceiling );
+
+ return result;
}