summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src/heap.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2013-07-23 16:50:51 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2013-07-23 17:19:08 +0200
commite6f7f81766efeb713b3e0a6fa67122f3f1cf9895 (patch)
tree5a7737c1a2a6d15661fef1a4b3992c8d555a757f /cpukit/score/src/heap.c
parentscore: Include missing <rtems/score/thread.h> (diff)
downloadrtems-e6f7f81766efeb713b3e0a6fa67122f3f1cf9895.tar.bz2
score: Create heap implementation header
Move implementation specific parts of heap.h and heap.inl into new header file heapimpl.h. The heap.h contains now only the application visible API.
Diffstat (limited to 'cpukit/score/src/heap.c')
-rw-r--r--cpukit/score/src/heap.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/cpukit/score/src/heap.c b/cpukit/score/src/heap.c
index 89dcd34fa6..6773f2ac52 100644
--- a/cpukit/score/src/heap.c
+++ b/cpukit/score/src/heap.c
@@ -18,15 +18,14 @@
*/
#if HAVE_CONFIG_H
-#include "config.h"
+ #include "config.h"
#endif
-#include <string.h>
-
-#include <rtems/system.h>
-#include <rtems/score/heap.h>
+#include <rtems/score/heapimpl.h>
#include <rtems/score/interr.h>
+#include <string.h>
+
#if CPU_ALIGNMENT == 0 || CPU_ALIGNMENT % 2 != 0
#error "invalid CPU_ALIGNMENT value"
#endif