diff options
Diffstat (limited to 'cpukit/include/rtems/config.h')
-rw-r--r-- | cpukit/include/rtems/config.h | 8 |
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) \ |