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/psxstack02/init.c | |
parent | libtmtests - Eliminate missing prototype warnings (diff) | |
download | rtems-6c2de6052d450fa36338ed0c082647b9d535a928.tar.bz2 |
psxtests - Eliminate missing prototype warnings
Diffstat (limited to 'testsuites/psxtests/psxstack02/init.c')
-rw-r--r-- | testsuites/psxtests/psxstack02/init.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/testsuites/psxtests/psxstack02/init.c b/testsuites/psxtests/psxstack02/init.c index a69dae2c51..603cf21b65 100644 --- a/testsuites/psxtests/psxstack02/init.c +++ b/testsuites/psxtests/psxstack02/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 @@ -21,6 +21,10 @@ #include <rtems/posix/pthread.h> /* for PTHREAD_MINIMUM_STACK_SIZE */ +/* forward declarations to avoid warnings */ +void *POSIX_Init(void *argument); +void *Test_Thread(void *arg); + void *Stack_Low; void *Stack_High; @@ -46,9 +50,7 @@ void *Test_Thread(void *arg) return NULL; } -void *POSIX_Init( - rtems_task_argument argument -) +void *POSIX_Init(void *argument) { #if HAVE_DECL_PTHREAD_ATTR_SETSTACK int sc; |