From 3c8eda77b91589f2829765666c5daad3a582537b Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Sat, 12 May 2012 11:01:26 -0500 Subject: sptests - Eliminate missing prototype warnings --- testsuites/sptests/spfifo05/init.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'testsuites/sptests/spfifo05/init.c') diff --git a/testsuites/sptests/spfifo05/init.c b/testsuites/sptests/spfifo05/init.c index 81ca4a474f..b9048de316 100644 --- a/testsuites/sptests/spfifo05/init.c +++ b/testsuites/sptests/spfifo05/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 @@ -24,6 +24,10 @@ #include #include +/* forward declarations to avoid warnings */ +rtems_task Init(rtems_task_argument argument); +rtems_task read_task(rtems_task_argument not_used); + #define SEND_RCV_BUFSIZ (PIPE_BUF+20) rtems_id rBarrier; @@ -32,7 +36,7 @@ rtems_id wBarrier; char recvBuf[SEND_RCV_BUFSIZ] = {0}; char sendBuf[SEND_RCV_BUFSIZ] = {0}; -rtems_task read_task( rtems_task_argument not_used ) +rtems_task read_task(rtems_task_argument not_used) { int fd = 0; int status = -1; @@ -117,8 +121,6 @@ rtems_task read_task( rtems_task_argument not_used ) rtems_task_delete( RTEMS_SELF ); } - - rtems_task Init( rtems_task_argument not_used ) -- cgit v1.2.3