summaryrefslogtreecommitdiffstats
path: root/cpukit/score
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2015-06-25 14:10:57 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2015-06-25 14:10:57 +0200
commit270ccc590755c1520c7dff2f2e93a5ad1a2f87f4 (patch)
treef536891ec4ada9bd3cd60e9e52039d167eb99154 /cpukit/score
parentscore: Simplify <rtems/score/thread.h> (diff)
downloadrtems-270ccc590755c1520c7dff2f2e93a5ad1a2f87f4.tar.bz2
score: Fix extern "C" in <rtems/score/heap.h>
Diffstat (limited to 'cpukit/score')
-rw-r--r--cpukit/score/include/rtems/score/heap.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/cpukit/score/include/rtems/score/heap.h b/cpukit/score/include/rtems/score/heap.h
index ab627b62e8..5db22cf2ed 100644
--- a/cpukit/score/include/rtems/score/heap.h
+++ b/cpukit/score/include/rtems/score/heap.h
@@ -19,6 +19,7 @@
#define _RTEMS_SCORE_HEAP_H
#include <rtems/score/cpu.h>
+#include <rtems/score/thread.h>
#ifdef __cplusplus
extern "C" {
@@ -135,8 +136,6 @@ typedef struct Heap_Block Heap_Block;
#ifndef HEAP_PROTECTION
#define HEAP_PROTECTION_HEADER_SIZE 0
#else
- #include <rtems/score/thread.h>
-
#define HEAP_PROTECTOR_COUNT 2
#define HEAP_BEGIN_PROTECTOR_0 ((uintptr_t) 0xfd75a98f)