From 4c86e3d8bee2680c9be999b4627b19438f1ae728 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Fri, 11 May 2012 12:20:47 -0500 Subject: libtmtests - Eliminate missing prototype warnings --- testsuites/libtests/dumpbuf01/init.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'testsuites/libtests/dumpbuf01') 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 -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 -- cgit v1.2.3