change log for rtems (2011-12-11)

rtems-vc at rtems.org rtems-vc at rtems.org
Sun Dec 11 06:54:02 UTC 2011


 *ralf*:
2011-12-11	Ralf Corsépius <ralf.corsepius at rtems.org>

	* support/include/tmtests_empty_function.h: New.
	* support/src/tmtests_empty_function.c,
	support/src/tmtests_support.c:
	Include "tmtests_empty_function.h".
	Remove local decls (Missing prototypes).

A    1.1  testsuites/support/include/tmtests_empty_function.h
M    1.5  testsuites/support/src/tmtests_empty_function.c
M    1.5  testsuites/support/src/tmtests_support.c

diff -u /dev/null rtems/testsuites/support/include/tmtests_empty_function.h:1.1
--- /dev/null	Sun Dec 11 00:54:02 2011
+++ rtems/testsuites/support/include/tmtests_empty_function.h	Sun Dec 11 00:49:22 2011
@@ -0,0 +1,25 @@
+/*
+ *  Prototypes for RTEMS tmtests_empty_function.c.
+ *
+ *  COPYRIGHT (c) 2011, Ralf Corsépius, Ulm/Germany.
+ * 
+ *  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$
+ */
+
+#ifndef _TMTESTS_EMPTY_FUNCTION_H
+#define _TMTESTS_EMPTY_FUNCTION_H
+
+#include <rtems/rtems/status.h>
+
+extern rtems_status_code benchmark_timer_empty_function( void );
+
+extern void benchmark_timer_empty_operation(
+  int    iteration,
+  void  *argument
+);
+
+#endif /* _TMTESTS_EMPTY_FUNCTION_H */

diff -u rtems/testsuites/support/src/tmtests_empty_function.c:1.4 rtems/testsuites/support/src/tmtests_empty_function.c:1.5
--- rtems/testsuites/support/src/tmtests_empty_function.c:1.4	Tue Feb 22 05:11:44 2011
+++ rtems/testsuites/support/src/tmtests_empty_function.c	Sun Dec 11 00:49:22 2011
@@ -18,7 +18,7 @@
 
 #include <rtems.h>
 
-rtems_status_code benchmark_timer_empty_function( void );
+#include "tmtests_empty_function.h"
 
 rtems_status_code benchmark_timer_empty_function( void )
 {

diff -u rtems/testsuites/support/src/tmtests_support.c:1.4 rtems/testsuites/support/src/tmtests_support.c:1.5
--- rtems/testsuites/support/src/tmtests_support.c:1.4	Tue Feb 22 08:41:17 2011
+++ rtems/testsuites/support/src/tmtests_support.c	Sun Dec 11 00:49:22 2011
@@ -19,11 +19,7 @@
 #include <rtems/timerdrv.h>
 #include "test_support.h"
 #include "timesys.h"
-
-extern void benchmark_timer_empty_operation(
-  int    iteration,
-  void  *argument
-);
+#include "tmtests_empty_function.h"
 
 void rtems_time_test_measure_operation(
   const char               *description,



--

Generated by Deluxe Loginfo [http://www.codewiz.org/projects/index.html#loginfo] 2.122 by Bernardo Innocenti <bernie at develer.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/vc/attachments/20111211/aa76ee47/attachment.html>


More information about the vc mailing list