diff options
Diffstat (limited to 'cpukit/rtems/include/rtems/rtems/taskmp.h')
-rw-r--r-- | cpukit/rtems/include/rtems/rtems/taskmp.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/cpukit/rtems/include/rtems/rtems/taskmp.h b/cpukit/rtems/include/rtems/rtems/taskmp.h index 01a283b2f5..4102b9c74d 100644 --- a/cpukit/rtems/include/rtems/rtems/taskmp.h +++ b/cpukit/rtems/include/rtems/rtems/taskmp.h @@ -21,13 +21,20 @@ #ifndef _RTEMS_RTEMS_TASKMP_H #define _RTEMS_RTEMS_TASKMP_H +#ifndef _RTEMS_RTEMS_TASKSIMPL_H +# error "Never use <rtems/rtems/taskmp.h> directly; include <rtems/rtems/tasksimpl.h> instead." +#endif + #include <rtems/score/mppkt.h> #include <rtems/score/object.h> #include <rtems/rtems/options.h> #include <rtems/score/priority.h> -#include <rtems/rtems/tasks.h> #include <rtems/score/thread.h> +#ifdef __cplusplus +extern "C" { +#endif + /** * @defgroup ClassicTaskMP Task MP Support * @@ -37,9 +44,6 @@ */ /**@{*/ -#ifdef __cplusplus -extern "C" { -#endif /** * The following enumerated type defines the list of * remote task operations. |