From ea8cf79fb791d445dcd15116408d85c2bc374115 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Thu, 8 Nov 2018 12:00:12 +0100 Subject: 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 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 #endif +#ifdef __cplusplus +extern "C" { +#endif + #define RTEMS_UNLIMITED_OBJECTS OBJECTS_UNLIMITED_OBJECTS #define rtems_resource_unlimited(resource) \ -- cgit v1.2.3