summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2018-11-08 12:00:12 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2018-11-08 12:02:08 +0100
commitea8cf79fb791d445dcd15116408d85c2bc374115 (patch)
tree5863b18e716ef735310bede2a294e7fc2ae8d5b6
parentbsp/realview-pbx-a9: Update headers.am (diff)
downloadrtems-ea8cf79fb791d445dcd15116408d85c2bc374115.tar.bz2
config: Move includes out of extern "C" scope
-rw-r--r--cpukit/include/rtems/config.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/cpukit/include/rtems/config.h b/cpukit/include/rtems/config.h
index 23b6132c38..b8422d67cd 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) \