diff options
author | Joel Sherrill <joel.sherrill@oarcorp.com> | 2012-05-11 14:12:11 -0500 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@oarcorp.com> | 2012-05-11 14:12:11 -0500 |
commit | 6c2de6052d450fa36338ed0c082647b9d535a928 (patch) | |
tree | cf352d1305edc992fceda6c7b75ab3658b982834 /testsuites/psxtests/psxsignal01 | |
parent | libtmtests - Eliminate missing prototype warnings (diff) | |
download | rtems-6c2de6052d450fa36338ed0c082647b9d535a928.tar.bz2 |
psxtests - Eliminate missing prototype warnings
Diffstat (limited to 'testsuites/psxtests/psxsignal01')
-rw-r--r-- | testsuites/psxtests/psxsignal01/init.c | 13 |
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 ); |