[PATCH 6/7] smp07: Resolve missing prototype warning.

Jennifer Averett jennifer.averett at oarcorp.com
Mon Nov 24 20:55:28 UTC 2014


---
 testsuites/smptests/smp07/init.c | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/testsuites/smptests/smp07/init.c b/testsuites/smptests/smp07/init.c
index fabf722..c26669a 100644
--- a/testsuites/smptests/smp07/init.c
+++ b/testsuites/smptests/smp07/init.c
@@ -20,6 +20,14 @@ volatile bool TaskRan = false;
 volatile bool TSRFired = false;
 rtems_id      Semaphore; 
 
+rtems_task Init(
+  rtems_task_argument argument
+);
+
+rtems_task Test_task(
+  rtems_task_argument argument
+);
+
 static void success(void)
 {
   rtems_test_end_with_plugin(locked_printf_plugin, NULL);
@@ -65,7 +73,7 @@ rtems_task Test_task(
 }
 
 
-rtems_timer_service_routine TimerMethod(
+static rtems_timer_service_routine TimerMethod(
   rtems_id  timer,
   void     *arg
 )
-- 
1.8.1.4




More information about the devel mailing list