summaryrefslogtreecommitdiffstats
path: root/cpukit/score/include/rtems/score/stack.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/score/include/rtems/score/stack.h')
-rw-r--r--cpukit/score/include/rtems/score/stack.h16
1 files changed, 7 insertions, 9 deletions
diff --git a/cpukit/score/include/rtems/score/stack.h b/cpukit/score/include/rtems/score/stack.h
index 9aa90425c4..452525e6ae 100644
--- a/cpukit/score/include/rtems/score/stack.h
+++ b/cpukit/score/include/rtems/score/stack.h
@@ -20,6 +20,12 @@
#ifndef _RTEMS_SCORE_STACK_H
#define _RTEMS_SCORE_STACK_H
+#include <rtems/score/basedefs.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/**
* @defgroup ScoreStack Stack Handler
*
@@ -30,10 +36,6 @@
*/
/**@{*/
-#ifdef __cplusplus
-extern "C" {
-#endif
-
/**
* The following constant defines the minimum stack size which every
* thread must exceed.
@@ -57,15 +59,11 @@ typedef struct {
*/
extern uint32_t rtems_minimum_stack_size;
-#ifndef __RTEMS_APPLICATION__
-#include <rtems/score/stack.inl>
-#endif
+/**@}*/
#ifdef __cplusplus
}
#endif
-/**@}*/
-
#endif
/* end of include file */