diff options
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; |