summaryrefslogtreecommitdiff
path: root/cpukit/score/include/rtems/score/apiext.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2013-07-22 10:49:19 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2013-07-22 16:57:25 +0200
commit6e93dc4a95d9b222c56d3eb125efb5e535b5e42c (patch)
tree19b481e2b51e3a7bc8f0606792c04101cd297480 /cpukit/score/include/rtems/score/apiext.h
parent47ac81f645aba2fba985fa991f532173e6dd5b78 (diff)
score: Create chain implementation header
Move implementation specific parts of chain.h and chain.inl into new header file chainimpl.h. The chain.h contains now only the application visible API.
Diffstat (limited to 'cpukit/score/include/rtems/score/apiext.h')
-rw-r--r--cpukit/score/include/rtems/score/apiext.h14
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 */