summaryrefslogtreecommitdiff
path: root/rtems-test-template/psxtmtest_unblocking_preempt
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2012-05-11 09:30:38 -0500
committerJoel Sherrill <joel.sherrill@oarcorp.com>2012-05-11 09:30:38 -0500
commitf0bc7c2afdf1774b89a1f1f323023829c50c9372 (patch)
tree83af52bb302a2cc593b9a8feced18c624ccbb732 /rtems-test-template/psxtmtest_unblocking_preempt
parent07bc90a71759dd653adf4df5b5c3f6bdabceb04a (diff)
Eliminate missing prototype warnings in templates
Diffstat (limited to 'rtems-test-template/psxtmtest_unblocking_preempt')
-rw-r--r--rtems-test-template/psxtmtest_unblocking_preempt/init.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/rtems-test-template/psxtmtest_unblocking_preempt/init.c b/rtems-test-template/psxtmtest_unblocking_preempt/init.c
index d226f75..40c8ad2 100644
--- a/rtems-test-template/psxtmtest_unblocking_preempt/init.c
+++ b/rtems-test-template/psxtmtest_unblocking_preempt/init.c
@@ -1,12 +1,10 @@
/*
- * COPYRIGHT (c) 1989-2011.
+ * COPYRIGHT (c) 1989-2012.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rtems.com/license/LICENSE.
- *
- * $Id$
*/
#ifdef HAVE_CONFIG_H
@@ -21,6 +19,11 @@
#include <sched.h>
#include <rtems/timerdrv.h>
+/* forward declarations to avoid warnings */
+void *POSIX_Init(void *argument);
+void *Middle(void *argument);
+void *Low(void *argument);
+
pthread_mutex_t MutexId;
void *Low(