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/sp70/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/sp70/init.c')
-rw-r--r-- | testsuites/sptests/sp70/init.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/testsuites/sptests/sp70/init.c b/testsuites/sptests/sp70/init.c index 67980ea1fa..2d774b18a9 100644 --- a/testsuites/sptests/sp70/init.c +++ b/testsuites/sptests/sp70/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 @@ -14,6 +14,11 @@ #include <tmacros.h> #include "test_support.h" +/* forward declarations to avoid warnings */ +rtems_task Init(rtems_task_argument argument); +void create_helper(int task); +void delete_helper(int task); + rtems_id TaskID[10]; void create_helper(int task) @@ -32,7 +37,7 @@ void create_helper(int task) directive_failed( status, "rtems_task_create" ); } -void delete_helper( int task ) +void delete_helper(int task) { rtems_status_code status; |