summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxsignal01/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/psxtests/psxsignal01/init.c')
-rw-r--r--testsuites/psxtests/psxsignal01/init.c13
1 files changed, 12 insertions, 1 deletions
diff --git a/testsuites/psxtests/psxsignal01/init.c b/testsuites/psxtests/psxsignal01/init.c
index b606f0ac84..8a85bef933 100644
--- a/testsuites/psxtests/psxsignal01/init.c
+++ b/testsuites/psxtests/psxsignal01/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
@@ -15,6 +15,17 @@
#include "system.h"
#include <signal.h>
#include <errno.h>
+
+/* forward declarations to avoid warnings */
+int test_main(void);
+void Handler_1(int signo);
+void Signal_handler(int signo);
+void Signal_info_handler(int signo, siginfo_t *info, void *context);
+rtems_timer_service_routine Signal_duringISR_TSR(
+ rtems_id ignored_id,
+ void *ignored_address
+);
+
typedef void (*sighandler_t)(int);
sighandler_t signal(int signum, sighandler_t handler);
extern void _POSIX_signals_Abnormal_termination_handler( int signo );