From 6c2de6052d450fa36338ed0c082647b9d535a928 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Fri, 11 May 2012 14:12:11 -0500 Subject: psxtests - Eliminate missing prototype warnings --- testsuites/psxtests/psxsignal06/init.c | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'testsuites/psxtests/psxsignal06') diff --git a/testsuites/psxtests/psxsignal06/init.c b/testsuites/psxtests/psxsignal06/init.c index fb59eb37a7..da2b31e7e0 100644 --- a/testsuites/psxtests/psxsignal06/init.c +++ b/testsuites/psxtests/psxsignal06/init.c @@ -1,5 +1,5 @@ /* - * COPYRIGHT (c) 1989-2010. + * COPYRIGHT (c) 1989-2012. * On-Line Applications Research Corporation (OAR). * * The license and distribution terms for this file may be @@ -16,6 +16,11 @@ #include #include +/* forward declarations to avoid warnings */ +void *POSIX_Init(void *argument); +void Handler(int signo); +void *TestThread(void *argument); + pthread_t ThreadId; pthread_cond_t CondVarId; pthread_mutex_t MutexId; @@ -63,9 +68,7 @@ void *TestThread( return NULL; } -void *POSIX_Init( - rtems_task_argument argument -) +void *POSIX_Init(void *argument) { int status; -- cgit v1.2.3