diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-07-23 14:19:58 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-07-23 15:12:55 +0200 |
commit | 8695cae269f9c87a535e26180c5b2b5d370720fa (patch) | |
tree | 61e4e5f9884fc1f9d18222e8003e63c4fc1cb8ee /cpukit/rtems/include/rtems/rtems/partmp.h | |
parent | rtems: Create timer implementation header (diff) | |
download | rtems-8695cae269f9c87a535e26180c5b2b5d370720fa.tar.bz2 |
rtems: Create part implementation header
Move implementation specific parts of part.h and part.inl into new
header file partimpl.h. The part.h contains now only the application
visible API.
Diffstat (limited to '')
-rw-r--r-- | cpukit/rtems/include/rtems/rtems/partmp.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/cpukit/rtems/include/rtems/rtems/partmp.h b/cpukit/rtems/include/rtems/rtems/partmp.h index 3d3f47fe52..6eae109772 100644 --- a/cpukit/rtems/include/rtems/rtems/partmp.h +++ b/cpukit/rtems/include/rtems/rtems/partmp.h @@ -18,8 +18,8 @@ #ifndef _RTEMS_RTEMS_PARTMP_H #define _RTEMS_RTEMS_PARTMP_H -#ifdef __cplusplus -extern "C" { +#ifndef _RTEMS_RTEMS_PARTIMPL_H +# error "Never use <rtems/rtems/partmp.h> directly; include <rtems/rtems/partimpl.h> instead." #endif #include <rtems/score/mppkt.h> @@ -27,7 +27,9 @@ extern "C" { #include <rtems/rtems/options.h> #include <rtems/score/thread.h> -#include <rtems/rtems/part.h> +#ifdef __cplusplus +extern "C" { +#endif /** * @defgroup ClassicPartMP Partition MP Support |