summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxhdrs/signal07.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/psxtests/psxhdrs/signal07.c')
-rw-r--r--testsuites/psxtests/psxhdrs/signal07.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/testsuites/psxtests/psxhdrs/signal07.c b/testsuites/psxtests/psxhdrs/signal07.c
index 6924c6254f..c6253daa2b 100644
--- a/testsuites/psxtests/psxhdrs/signal07.c
+++ b/testsuites/psxtests/psxhdrs/signal07.c
@@ -22,9 +22,9 @@
#error "rtems is supposed to have pthread_kill"
#endif
-void test( void );
+int test( void );
-void test( void )
+int test( void )
{
pthread_t thread;
int signal_number;
@@ -34,4 +34,6 @@ void test( void )
signal_number = SIGALRM;
result = pthread_kill( thread, signal_number );
+
+ return result;
}