summaryrefslogtreecommitdiffstats
path: root/cpukit/score/include/rtems/score/stack.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2013-07-23 17:17:05 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2013-07-23 17:19:08 +0200
commit218286bc055e9d9bcbefd3dfa2b38f92a95b15a6 (patch)
treedfd79ee383ba1192fa1a71d40bd52d5742601b76 /cpukit/score/include/rtems/score/stack.h
parentposix: Include missing <stdint.h> (diff)
downloadrtems-218286bc055e9d9bcbefd3dfa2b38f92a95b15a6.tar.bz2
score: Create stack implementation header
Move implementation specific parts of stack.h and stack.inl into new header file stackimpl.h. The stack.h contains now only the application visible API.
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 */