diff options
Diffstat (limited to 'cpukit/score/include/rtems/score/apiext.h')
-rw-r--r-- | cpukit/score/include/rtems/score/apiext.h | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/cpukit/score/include/rtems/score/apiext.h b/cpukit/score/include/rtems/score/apiext.h index 54b8049241..d980bb1ecc 100644 --- a/cpukit/score/include/rtems/score/apiext.h +++ b/cpukit/score/include/rtems/score/apiext.h @@ -18,6 +18,13 @@ #ifndef _RTEMS_SCORE_APIEXT_H #define _RTEMS_SCORE_APIEXT_H +#include <rtems/score/chainimpl.h> +#include <rtems/score/thread.h> + +#ifdef __cplusplus +extern "C" { +#endif + /** * @defgroup ScoreAPIExtension API Extension Handler * @@ -32,9 +39,6 @@ */ /**@{*/ -#include <rtems/score/chain.h> -#include <rtems/score/thread.h> - #if defined(FUNCTIONALITY_NOT_CURRENTLY_USED_BY_ANY_API) /** * This type defines the prototype of the Predriver Hook. @@ -179,5 +183,9 @@ static inline void _API_extensions_Run_post_switch( Thread_Control *executing ) /**@}*/ +#ifdef __cplusplus +} +#endif + #endif /* end of include file */ |