From 218286bc055e9d9bcbefd3dfa2b38f92a95b15a6 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Tue, 23 Jul 2013 17:17:05 +0200 Subject: 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. --- cpukit/score/include/rtems/score/stack.h | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) (limited to 'cpukit/score/include/rtems/score/stack.h') 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 + +#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 -#endif +/**@}*/ #ifdef __cplusplus } #endif -/**@}*/ - #endif /* end of include file */ -- cgit v1.2.3