summaryrefslogtreecommitdiffstats
path: root/testsuites
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 /testsuites
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 'testsuites')
-rw-r--r--testsuites/libtests/heapwalk/init.c3
-rw-r--r--testsuites/sptests/sp63/init.c2
-rw-r--r--testsuites/sptests/spheapprot/init.c6
-rw-r--r--testsuites/sptests/spstkalloc02/init.c2
4 files changed, 6 insertions, 7 deletions
diff --git a/testsuites/libtests/heapwalk/init.c b/testsuites/libtests/heapwalk/init.c
index 3565570429..4e0142839d 100644
--- a/testsuites/libtests/heapwalk/init.c
+++ b/testsuites/libtests/heapwalk/init.c
@@ -15,7 +15,6 @@
#include "config.h"
#endif
-#define __RTEMS_VIOLATE_KERNEL_VISIBILITY__
#define CONFIGURE_INIT
#include "system.h"
@@ -23,7 +22,7 @@
#include <inttypes.h>
#include <errno.h>
#include <string.h>
-#include <rtems/score/heap.h>
+#include <rtems/score/heapimpl.h>
#include <rtems/dumpbuf.h>
#define TEST_HEAP_SIZE 1024
diff --git a/testsuites/sptests/sp63/init.c b/testsuites/sptests/sp63/init.c
index 040f510d75..a5e8eb560f 100644
--- a/testsuites/sptests/sp63/init.c
+++ b/testsuites/sptests/sp63/init.c
@@ -13,6 +13,8 @@
#include <tmacros.h>
+#include <rtems/score/heapimpl.h>
+
/* forward declarations to avoid warnings */
rtems_task Init(rtems_task_argument argument);
void test_case_one(void);
diff --git a/testsuites/sptests/spheapprot/init.c b/testsuites/sptests/spheapprot/init.c
index d48703faa4..aaea75dd79 100644
--- a/testsuites/sptests/spheapprot/init.c
+++ b/testsuites/sptests/spheapprot/init.c
@@ -20,12 +20,10 @@
#include <stdlib.h>
#include <assert.h>
-#define __RTEMS_VIOLATE_KERNEL_VISIBILITY__
-
-#include <rtems.h>
-
#include <bsp.h>
+#include <rtems/score/heapimpl.h>
+
#ifdef HEAP_PROTECTION
static void test_heap_block_error(Heap_Control *heap, Heap_Block *block)
{
diff --git a/testsuites/sptests/spstkalloc02/init.c b/testsuites/sptests/spstkalloc02/init.c
index 8c1db21339..46880c7f74 100644
--- a/testsuites/sptests/spstkalloc02/init.c
+++ b/testsuites/sptests/spstkalloc02/init.c
@@ -31,7 +31,7 @@
#include <stdio.h>
#include <inttypes.h>
-#include <rtems/score/heap.h>
+#include <rtems/score/heapimpl.h>
#define TASK_COUNT 5