summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/spthreadq01
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/spthreadq01
parentRevert "Revert "libtests/complex: Avoid generated files"" (diff)
downloadrtems-3c8eda77b91589f2829765666c5daad3a582537b.tar.bz2
sptests - Eliminate missing prototype warnings
Diffstat (limited to 'testsuites/sptests/spthreadq01')
-rw-r--r--testsuites/sptests/spthreadq01/init.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/testsuites/sptests/spthreadq01/init.c b/testsuites/sptests/spthreadq01/init.c
index 48124849e6..e03efe6f06 100644
--- a/testsuites/sptests/spthreadq01/init.c
+++ b/testsuites/sptests/spthreadq01/init.c
@@ -16,6 +16,13 @@
#include <sys/types.h>
#include <rtems/score/threadq.h>
+/* forward declarations to avoid warnings */
+rtems_task Init(rtems_task_argument argument);
+void threadq_first_empty(
+ const char *discipline_string,
+ Thread_queue_Disciplines discipline
+);
+
void threadq_first_empty(
const char *discipline_string,
Thread_queue_Disciplines discipline