summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxhdrs/signal14.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/psxtests/psxhdrs/signal14.c')
-rw-r--r--testsuites/psxtests/psxhdrs/signal14.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/testsuites/psxtests/psxhdrs/signal14.c b/testsuites/psxtests/psxhdrs/signal14.c
index b2e47e4edc..6e94d791fa 100644
--- a/testsuites/psxtests/psxhdrs/signal14.c
+++ b/testsuites/psxtests/psxhdrs/signal14.c
@@ -18,9 +18,9 @@
#include <signal.h>
-void test( void );
+int test( void );
-void test( void )
+int test( void )
{
sigset_t set;
int result;
@@ -28,4 +28,6 @@ void test( void )
(void) sigemptyset( &set );
result = sigpending( &set );
+
+ return result;
}