summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/spfifo05/init.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2012-05-12 11:01:26 -0500
committerJoel Sherrill <joel.sherrill@oarcorp.com>2012-05-31 10:06:16 -0500
commit3c8eda77b91589f2829765666c5daad3a582537b (patch)
tree3f36bfee4b90f119c52293a79680bb0df05b10b6 /testsuites/sptests/spfifo05/init.c
parentRevert "Revert "libtests/complex: Avoid generated files"" (diff)
downloadrtems-3c8eda77b91589f2829765666c5daad3a582537b.tar.bz2
sptests - Eliminate missing prototype warnings
Diffstat (limited to 'testsuites/sptests/spfifo05/init.c')
-rw-r--r--testsuites/sptests/spfifo05/init.c10
1 files changed, 6 insertions, 4 deletions
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 <rtems.h>
#include <rtems/libio.h>
+/* 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
)