summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxsignal03/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/psxtests/psxsignal03/init.c')
-rw-r--r--testsuites/psxtests/psxsignal03/init.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/testsuites/psxtests/psxsignal03/init.c b/testsuites/psxtests/psxsignal03/init.c
index f322ce8489..0b6ee77215 100644
--- a/testsuites/psxtests/psxsignal03/init.c
+++ b/testsuites/psxtests/psxsignal03/init.c
@@ -1,5 +1,5 @@
/*
- * COPYRIGHT (c) 1989-2009.
+ * COPYRIGHT (c) 1989-2012.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -45,7 +45,6 @@
#else
#error "Test Mode not defined"
-
#endif
#include <pmacros.h>
@@ -54,6 +53,12 @@
#include <pthread.h>
#include <sched.h>
+/* forward declarations to avoid warnings */
+void *POSIX_Init(void *argument);
+void *Test_Thread(void *arg);
+void Signal_handler(int signo, siginfo_t *info, void *arg);
+const char *signal_name(int signo);
+
volatile bool Signal_occurred;
volatile pthread_t Signal_thread;