[rtems commit] smp07: Resolve missing prototype warning.

Jennifer Averett jennifer at rtems.org
Tue Nov 25 20:47:05 UTC 2014


Module:    rtems
Branch:    master
Commit:    6291e9627e77460814a1635d09f4894e19abb039
Changeset: http://git.rtems.org/rtems/commit/?id=6291e9627e77460814a1635d09f4894e19abb039

Author:    Jennifer Averett <jennifer.averett at oarcorp.com>
Date:      Mon Nov 24 14:48:58 2014 -0600

smp07: Resolve missing prototype warning.

---

 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
 )




More information about the vc mailing list