summaryrefslogtreecommitdiffstats
path: root/cpukit/rtems/include/rtems/rtems/regionmp.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2013-07-23 14:38:19 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2013-07-23 15:12:55 +0200
commitf6c7c57d86b58e12d372495a23e331cb81ea59ff (patch)
tree6406542e0324f94964bbce0e41d2f86c637d5f1f /cpukit/rtems/include/rtems/rtems/regionmp.h
parentrtems: Include <rtems/debug.h> in <rtems.h> (diff)
downloadrtems-f6c7c57d86b58e12d372495a23e331cb81ea59ff.tar.bz2
rtems: Create region implementation header
Move implementation specific parts of region.h and region.inl into new header file regionimpl.h. The region.h contains now only the application visible API.
Diffstat (limited to 'cpukit/rtems/include/rtems/rtems/regionmp.h')
-rw-r--r--cpukit/rtems/include/rtems/rtems/regionmp.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/cpukit/rtems/include/rtems/rtems/regionmp.h b/cpukit/rtems/include/rtems/rtems/regionmp.h
index 4ec1eb10c8..972f1ba882 100644
--- a/cpukit/rtems/include/rtems/rtems/regionmp.h
+++ b/cpukit/rtems/include/rtems/rtems/regionmp.h
@@ -21,16 +21,17 @@
#ifndef _RTEMS_RTEMS_REGIONMP_H
#define _RTEMS_RTEMS_REGIONMP_H
-#ifdef __cplusplus
-extern "C" {
+#ifndef _RTEMS_RTEMS_REGIONIMPL_H
+# error "Never use <rtems/rtems/regionmp.h> directly; include <rtems/rtems/regionimpl.h> instead."
#endif
#include <rtems/score/mppkt.h>
#include <rtems/score/object.h>
#include <rtems/score/thread.h>
-#include <rtems/rtems/options.h>
-#include <rtems/rtems/region.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
/**
* @defgroup ClassicRegionMP Region MP Support