summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxhdrs/signal08.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/psxtests/psxhdrs/signal08.c')
-rw-r--r--testsuites/psxtests/psxhdrs/signal08.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/testsuites/psxtests/psxhdrs/signal08.c b/testsuites/psxtests/psxhdrs/signal08.c
index 3e84fbda12..d4fe7047ba 100644
--- a/testsuites/psxtests/psxhdrs/signal08.c
+++ b/testsuites/psxtests/psxhdrs/signal08.c
@@ -22,9 +22,9 @@
#error "rtems is supposed to have pthread_sigmask"
#endif
-void test( void );
+int test( void );
-void test( void )
+int test( void )
{
int how;
sigset_t set;
@@ -36,4 +36,6 @@ void test( void )
how = SIG_SETMASK;
result = pthread_sigmask( how, &set, &oset );
+
+ return result;
}