diff options
author | Joel Sherrill <joel.sherrill@oarcorp.com> | 2012-05-12 11:01:26 -0500 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@oarcorp.com> | 2012-05-31 10:06:16 -0500 |
commit | 3c8eda77b91589f2829765666c5daad3a582537b (patch) | |
tree | 3f36bfee4b90f119c52293a79680bb0df05b10b6 /testsuites/sptests/sp27/init.c | |
parent | Revert "Revert "libtests/complex: Avoid generated files"" (diff) | |
download | rtems-3c8eda77b91589f2829765666c5daad3a582537b.tar.bz2 |
sptests - Eliminate missing prototype warnings
Diffstat (limited to 'testsuites/sptests/sp27/init.c')
-rw-r--r-- | testsuites/sptests/sp27/init.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/testsuites/sptests/sp27/init.c b/testsuites/sptests/sp27/init.c index ffd202743e..9935f31e85 100644 --- a/testsuites/sptests/sp27/init.c +++ b/testsuites/sptests/sp27/init.c @@ -1,7 +1,7 @@ /* * Test for rtems_semaphore_flush * - * COPYRIGHT (c) 1989-2009. + * COPYRIGHT (c) 1989-2012. * On-Line Applications Research Corporation (OAR). * * The license and distribution terms for this file may be @@ -16,12 +16,15 @@ #include <bsp.h> #include <tmacros.h> -void starttask(int arg); -rtems_task subtask(rtems_task_argument arg); - #include <stdio.h> #include <stdlib.h> +/* forward declarations to avoid warnings */ +rtems_task Init(rtems_task_argument argument); +void starttask(int arg); +rtems_task subtask(rtems_task_argument arg); +void doTest(void); + #define NTASK 4 #if defined(USE_COUNTING_SEMAPHORE) |