summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxhdrs/signal20.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/psxtests/psxhdrs/signal20.c')
-rw-r--r--testsuites/psxtests/psxhdrs/signal20.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/testsuites/psxtests/psxhdrs/signal20.c b/testsuites/psxtests/psxhdrs/signal20.c
index da0f27a8f3..b48a7c3ad5 100644
--- a/testsuites/psxtests/psxhdrs/signal20.c
+++ b/testsuites/psxtests/psxhdrs/signal20.c
@@ -18,9 +18,9 @@
#include <unistd.h>
-void test( void );
+int test( void );
-void test( void )
+int test( void )
{
unsigned int seconds;
unsigned int result;
@@ -28,4 +28,6 @@ void test( void )
seconds = 10;
result = alarm( seconds );
+
+ return result;
}