summaryrefslogtreecommitdiffstats
path: root/testsuites/libtests/dumpbuf01
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2012-05-11 12:20:47 -0500
committerJoel Sherrill <joel.sherrill@oarcorp.com>2012-05-11 12:20:47 -0500
commit4c86e3d8bee2680c9be999b4627b19438f1ae728 (patch)
treee98cb2c409079e5507a1ddf9f5764781697f1b71 /testsuites/libtests/dumpbuf01
parenttmoverhd - Eliminate warnings (diff)
downloadrtems-4c86e3d8bee2680c9be999b4627b19438f1ae728.tar.bz2
libtmtests - Eliminate missing prototype warnings
Diffstat (limited to 'testsuites/libtests/dumpbuf01')
-rw-r--r--testsuites/libtests/dumpbuf01/init.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/testsuites/libtests/dumpbuf01/init.c b/testsuites/libtests/dumpbuf01/init.c
index 1c86502ba3..e14375705f 100644
--- a/testsuites/libtests/dumpbuf01/init.c
+++ b/testsuites/libtests/dumpbuf01/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
@@ -15,8 +15,11 @@
#include "test_support.h"
#include <rtems/dumpbuf.h>
-unsigned char Buffer[] =
-"ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890\n";
+/* forward declarations to avoid warnings */
+rtems_task Init(rtems_task_argument argument);
+void do_test(int length);
+
+unsigned char Buffer[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890\n";
void do_test(
int length