summaryrefslogtreecommitdiffstats
path: root/cpukit/include/rtems/score
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2018-11-08 11:55:11 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2018-11-12 13:25:41 +0100
commit805f9c262652d2700705e7233ef40936acb35d10 (patch)
tree54126280648dec494789cd43c304cd32b0af918b /cpukit/include/rtems/score
parentrtems: Remove superfluous include (diff)
downloadrtems-805f9c262652d2700705e7233ef40936acb35d10.tar.bz2
score: Avoid complex include in heap.h
Update #3598.
Diffstat (limited to 'cpukit/include/rtems/score')
-rw-r--r--cpukit/include/rtems/score/heap.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/cpukit/include/rtems/score/heap.h b/cpukit/include/rtems/score/heap.h
index 60cb3be99d..a69d890001 100644
--- a/cpukit/include/rtems/score/heap.h
+++ b/cpukit/include/rtems/score/heap.h
@@ -19,7 +19,6 @@
#define _RTEMS_SCORE_HEAP_H
#include <rtems/score/cpu.h>
-#include <rtems/score/thread.h>
#ifdef __cplusplus
extern "C" {
@@ -163,10 +162,12 @@ typedef struct Heap_Block Heap_Block;
uintptr_t delayed_free_fraction;
} Heap_Protection;
+ struct _Thread_Control;
+
typedef struct {
uintptr_t protector [HEAP_PROTECTOR_COUNT];
Heap_Block *next_delayed_free_block;
- Thread_Control *task;
+ struct _Thread_Control *task;
void *tag;
} Heap_Protection_block_begin;