testsuites: Move include for C++ compatibility

This commit is contained in:
Sebastian Huber
2014-10-23 09:42:18 +02:00
parent 77a2226a16
commit 3e739ae95f

View File

@@ -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.