summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxhdrs/signal09.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/psxtests/psxhdrs/signal09.c')
-rw-r--r--testsuites/psxtests/psxhdrs/signal09.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/testsuites/psxtests/psxhdrs/signal09.c b/testsuites/psxtests/psxhdrs/signal09.c
index cfc56e2983..a95633b119 100644
--- a/testsuites/psxtests/psxhdrs/signal09.c
+++ b/testsuites/psxtests/psxhdrs/signal09.c
@@ -19,9 +19,9 @@
#include <sys/types.h>
#include <signal.h>
-void test( void );
+int test( void );
-void test( void )
+int test( void )
{
pid_t pid;
int signal_number;
@@ -31,4 +31,6 @@ void test( void )
signal_number = SIGALRM;
result = kill( pid, signal_number );
+
+ return result;
}