[rtems commit] tm30 - Fix warning for Init needed prototype

Joel Sherrill joel at rtems.org
Mon May 7 22:00:29 UTC 2012


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

Author:    Joel Sherrill <joel.sherrill at oarcorp.com>
Date:      Mon May  7 16:57:35 2012 -0500

tm30 - Fix warning for Init needed prototype

---

 testsuites/tmtests/tm30/init.c |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/testsuites/tmtests/tm30/init.c b/testsuites/tmtests/tm30/init.c
index 88bc4bb..77c797b 100644
--- a/testsuites/tmtests/tm30/init.c
+++ b/testsuites/tmtests/tm30/init.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
@@ -21,6 +21,10 @@
 
 rtems_id barrier[ OPERATION_COUNT ];
 
+rtems_task Init(
+  rtems_task_argument argument
+);
+
 static void benchmark_barrier_create(
   int    iteration,
   void  *argument




More information about the vc mailing list