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