[rtems commit] testsuites: Move include for C++ compatibility
Sebastian Huber
sebh at rtems.org
Thu Oct 23 08:33:54 UTC 2014
Module: rtems
Branch: master
Commit: 3e739ae95f4407f20a5429caf6875633531bdfd8
Changeset: http://git.rtems.org/rtems/commit/?id=3e739ae95f4407f20a5429caf6875633531bdfd8
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Thu Oct 23 09:42:18 2014 +0200
testsuites: Move include for C++ compatibility
---
testsuites/support/include/tmacros.h | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/testsuites/support/include/tmacros.h b/testsuites/support/include/tmacros.h
index 2ba008e..91f23e0 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.
More information about the vc
mailing list