diff options
author | Joel Sherrill <joel.sherrill@oarcorp.com> | 2012-05-11 12:20:47 -0500 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@oarcorp.com> | 2012-05-11 12:20:47 -0500 |
commit | 4c86e3d8bee2680c9be999b4627b19438f1ae728 (patch) | |
tree | e98cb2c409079e5507a1ddf9f5764781697f1b71 /testsuites/libtests/stringto01 | |
parent | tmoverhd - Eliminate warnings (diff) | |
download | rtems-4c86e3d8bee2680c9be999b4627b19438f1ae728.tar.bz2 |
libtmtests - Eliminate missing prototype warnings
Diffstat (limited to 'testsuites/libtests/stringto01')
-rw-r--r-- | testsuites/libtests/stringto01/init.c | 5 | ||||
-rw-r--r-- | testsuites/libtests/stringto01/stringto_test_template.h | 5 |
2 files changed, 8 insertions, 2 deletions
diff --git a/testsuites/libtests/stringto01/init.c b/testsuites/libtests/stringto01/init.c index 005d3656d1..283e0d8401 100644 --- a/testsuites/libtests/stringto01/init.c +++ b/testsuites/libtests/stringto01/init.c @@ -1,5 +1,5 @@ /* - * COPYRIGHT (c) 1989-2009. + * COPYRIGHT (c) 1989-2012. * On-Line Applications Research Corporation (OAR). * * The license and distribution terms for this file may be @@ -18,6 +18,9 @@ #include <stdio.h> +/* forward declarations to avoid warnings */ +rtems_task Init(rtems_task_argument argument); + #define __STRING(x) #x /* stringify without expanding x */ #define __XSTRING(x) __STRING(x) /* expand x, then stringify */ diff --git a/testsuites/libtests/stringto01/stringto_test_template.h b/testsuites/libtests/stringto01/stringto_test_template.h index 1b951f72bb..7b6ee52a19 100644 --- a/testsuites/libtests/stringto01/stringto_test_template.h +++ b/testsuites/libtests/stringto01/stringto_test_template.h @@ -1,5 +1,5 @@ /* - * COPYRIGHT (c) 1989-2009. + * COPYRIGHT (c) 1989-2012. * On-Line Applications Research Corporation (OAR). * * The license and distribution terms for this file may be @@ -23,6 +23,9 @@ #error "what type are we testing?" #endif +/* forward declarations to avoid warnings */ +void TEST_STRING_TO_NAME(void); + void TEST_STRING_TO_NAME(void) { TEST_STRING_TO_TYPE value; |