summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/spfatal_support/consume_sems.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/spfatal_support/consume_sems.c
parentRevert "Revert "libtests/complex: Avoid generated files"" (diff)
downloadrtems-3c8eda77b91589f2829765666c5daad3a582537b.tar.bz2
sptests - Eliminate missing prototype warnings
Diffstat (limited to 'testsuites/sptests/spfatal_support/consume_sems.c')
-rw-r--r--testsuites/sptests/spfatal_support/consume_sems.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/testsuites/sptests/spfatal_support/consume_sems.c b/testsuites/sptests/spfatal_support/consume_sems.c
index 5024eb666e..adb1901046 100644
--- a/testsuites/sptests/spfatal_support/consume_sems.c
+++ b/testsuites/sptests/spfatal_support/consume_sems.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
@@ -13,6 +13,13 @@
#include <rtems.h>
+/* forward declarations to avoid warnings */
+rtems_device_driver consume_semaphores_initialize(
+ rtems_device_major_number major __attribute__((unused)),
+ rtems_device_minor_number minor __attribute__((unused)),
+ void *pargp __attribute__((unused))
+);
+
#define MAXIMUM 20
rtems_id Semaphores[MAXIMUM];