summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2014-10-23 09:42:18 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2014-10-23 10:21:41 +0200
commit3e739ae95f4407f20a5429caf6875633531bdfd8 (patch)
tree22ecfeb0f31314029d1cace9fff229e18020e782
parentbsp/sparc: Ensure that data cache snooping is enabled (diff)
downloadrtems-3e739ae95f4407f20a5429caf6875633531bdfd8.tar.bz2
testsuites: Move include for C++ compatibility
-rw-r--r--testsuites/support/include/tmacros.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/testsuites/support/include/tmacros.h b/testsuites/support/include/tmacros.h
index 2ba008e948..91f23e0e02 100644
--- a/testsuites/support/include/tmacros.h
+++ b/testsuites/support/include/tmacros.h
@@ -25,11 +25,12 @@
#include <rtems/test.h>
#include <rtems/score/threaddispatch.h>
+#include <buffer_test_io.h>
+
#ifdef __cplusplus
extern "C" {
#endif
-
#define FOREVER 1 /* infinite loop */
#ifdef CONFIGURE_INIT
@@ -38,8 +39,6 @@ extern "C" {
#define TEST_EXTERN extern
#endif
-#include <buffer_test_io.h>
-
/*
* Check that that the dispatch disable level is proper for the
* mode/state of the test. Normally it should be 0 when in task space.