[rtems commit] testsuites: Include <bsp.h>
Sebastian Huber
sebh at rtems.org
Wed Nov 14 13:02:43 UTC 2012
Module: rtems
Branch: master
Commit: dc0eed7b97d49f35c1a9ab6048a4089364d80abc
Changeset: http://git.rtems.org/rtems/commit/?id=dc0eed7b97d49f35c1a9ab6048a4089364d80abc
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Wed Nov 14 11:51:45 2012 +0100
testsuites: Include <bsp.h>
Include <bsp.h> for proper BSP specific <rtems/confdefs.h>
initialization.
---
testsuites/libtests/block06/init.c | 2 ++
testsuites/libtests/block08/system.h | 2 ++
testsuites/libtests/block09/init.c | 2 ++
testsuites/libtests/block10/init.c | 2 ++
testsuites/sptests/spheapprot/init.c | 2 ++
5 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/testsuites/libtests/block06/init.c b/testsuites/libtests/block06/init.c
index ff309b1..fd6656c 100644
--- a/testsuites/libtests/block06/init.c
+++ b/testsuites/libtests/block06/init.c
@@ -29,6 +29,8 @@
#include <rtems/error.h>
#include <rtems/bdbuf.h>
+#include <bsp.h>
+
/* forward declarations to avoid warnings */
static rtems_task Init(rtems_task_argument argument);
diff --git a/testsuites/libtests/block08/system.h b/testsuites/libtests/block08/system.h
index bd4054f..6965104 100644
--- a/testsuites/libtests/block08/system.h
+++ b/testsuites/libtests/block08/system.h
@@ -14,6 +14,8 @@
#include <rtems.h>
#include "rtems/blkdev.h"
+#include <bsp.h>
+
rtems_task Init(
rtems_task_argument argument
);
diff --git a/testsuites/libtests/block09/init.c b/testsuites/libtests/block09/init.c
index e17819f..15cecc3 100644
--- a/testsuites/libtests/block09/init.c
+++ b/testsuites/libtests/block09/init.c
@@ -31,6 +31,8 @@
#include <rtems/bdbuf.h>
#include <rtems/diskdevs.h>
+#include <bsp.h>
+
/* forward declarations to avoid warnings */
static rtems_task Init(rtems_task_argument argument);
diff --git a/testsuites/libtests/block10/init.c b/testsuites/libtests/block10/init.c
index fe8c21b..654357f 100644
--- a/testsuites/libtests/block10/init.c
+++ b/testsuites/libtests/block10/init.c
@@ -30,6 +30,8 @@
#include <rtems/bdbuf.h>
#include <rtems/diskdevs.h>
+#include <bsp.h>
+
/* forward declarations to avoid warnings */
static rtems_task Init(rtems_task_argument argument);
diff --git a/testsuites/sptests/spheapprot/init.c b/testsuites/sptests/spheapprot/init.c
index d3d9245..d48703f 100644
--- a/testsuites/sptests/spheapprot/init.c
+++ b/testsuites/sptests/spheapprot/init.c
@@ -24,6 +24,8 @@
#include <rtems.h>
+#include <bsp.h>
+
#ifdef HEAP_PROTECTION
static void test_heap_block_error(Heap_Control *heap, Heap_Block *block)
{
More information about the vc
mailing list