[rtems commit] config: Move includes out of extern "C" scope

Sebastian Huber sebh at rtems.org
Thu Nov 8 11:02:37 UTC 2018


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

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Thu Nov  8 12:00:12 2018 +0100

config: Move includes out of extern "C" scope

---

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

diff --git a/cpukit/include/rtems/config.h b/cpukit/include/rtems/config.h
index 23b6132..b8422d6 100644
--- a/cpukit/include/rtems/config.h
+++ b/cpukit/include/rtems/config.h
@@ -19,10 +19,6 @@
 #ifndef _RTEMS_CONFIG_H
 #define _RTEMS_CONFIG_H
 
-#ifdef __cplusplus
-extern "C" {
-#endif
-
 /*
  *  Unlimited object support. Changes the configuration table entry for POSIX
  *  or RTEMS APIs to bounded only by the memory of the work-space.
@@ -41,6 +37,10 @@ extern "C" {
 #include <rtems/score/mpci.h>
 #endif
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 #define RTEMS_UNLIMITED_OBJECTS OBJECTS_UNLIMITED_OBJECTS
 
 #define rtems_resource_unlimited(resource) \




More information about the vc mailing list