summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxhdrs/mutex01.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/psxtests/psxhdrs/mutex01.c')
-rw-r--r--testsuites/psxtests/psxhdrs/mutex01.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/testsuites/psxtests/psxhdrs/mutex01.c b/testsuites/psxtests/psxhdrs/mutex01.c
index bc0e085e13..662b9c4b44 100644
--- a/testsuites/psxtests/psxhdrs/mutex01.c
+++ b/testsuites/psxtests/psxhdrs/mutex01.c
@@ -22,12 +22,14 @@
#error "rtems is supposed to have pthread_mutexattr_init"
#endif
-void test( void );
+int test( void );
-void test( void )
+int test( void )
{
pthread_mutexattr_t attribute;
int result;
result = pthread_mutexattr_init( &attribute );
+
+ return result;
}