[rtems commit] rtems: Move extern "C" in <rtems.h>

Sebastian Huber sebh at rtems.org
Mon May 12 06:35:57 UTC 2014


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

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Fri May  9 10:08:29 2014 +0200

rtems: Move extern "C" in <rtems.h>

Do not cover the includes with an extern "C".

---

 cpukit/rtems/include/rtems.h |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/cpukit/rtems/include/rtems.h b/cpukit/rtems/include/rtems.h
index 43831b3..af05ee6 100644
--- a/cpukit/rtems/include/rtems.h
+++ b/cpukit/rtems/include/rtems.h
@@ -26,10 +26,6 @@
  */
 /**@{*/
 
-#ifdef __cplusplus
-extern "C" {
-#endif
-
 #include <rtems/system.h>
 #include <rtems/rtems/status.h>
 #include <rtems/rtems/types.h>
@@ -64,6 +60,10 @@ extern "C" {
 
 #include <rtems/rtems/support.h>
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 /**
  * @brief Returns the pointer to the RTEMS version string.
  */




More information about the vc mailing list