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/psxeintr_join | |
parent | libtmtests - Eliminate missing prototype warnings (diff) | |
download | rtems-6c2de6052d450fa36338ed0c082647b9d535a928.tar.bz2 |
psxtests - Eliminate missing prototype warnings
Diffstat (limited to 'testsuites/psxtests/psxeintr_join')
-rw-r--r-- | testsuites/psxtests/psxeintr_join/init.c | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/testsuites/psxtests/psxeintr_join/init.c b/testsuites/psxtests/psxeintr_join/init.c index 7987de5139..62a358361b 100644 --- a/testsuites/psxtests/psxeintr_join/init.c +++ b/testsuites/psxtests/psxeintr_join/init.c @@ -1,5 +1,5 @@ /* - * COPYRIGHT (c) 1989-2011. + * COPYRIGHT (c) 1989-2012. * On-Line Applications Research Corporation (OAR). * * The license and distribution terms for this file may be @@ -23,6 +23,13 @@ #define SIG_SUSPEND SIGUSR1 #define SIG_THR_RESTART SIGUSR2 +/* forward declarations to avoid warnings */ +void *POSIX_Init(void *argument); +static void print_sig_mask(const char * str); +void GC_suspend_handler(int sig); +void GC_restart_handler(int sig); +void *run(void *arg); + sem_t GC_suspend_ack_sem; static void print_sig_mask( const char * str ) @@ -53,7 +60,7 @@ void GC_restart_handler( int sig ) puts( "run in GC_restart_handler" ); } -void* run( void *arg ) +void *run( void *arg ) { int status; pthread_t id = *(pthread_t *)arg; |