summaryrefslogtreecommitdiffstats
path: root/cpukit/rtems/include/rtems/rtems/region.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--cpukit/rtems/include/rtems/rtems/region.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/cpukit/rtems/include/rtems/rtems/region.h b/cpukit/rtems/include/rtems/rtems/region.h
index 9c8a0cffa9..78cd7796a9 100644
--- a/cpukit/rtems/include/rtems/rtems/region.h
+++ b/cpukit/rtems/include/rtems/rtems/region.h
@@ -15,7 +15,7 @@
* + get a segment from a region
* + return a segment to a region
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2007.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -28,6 +28,10 @@
#ifndef _RTEMS_RTEMS_REGION_H
#define _RTEMS_RTEMS_REGION_H
+#ifndef RTEMS_REGION_EXTERN
+#define RTEMS_REGION_EXTERN extern
+#endif
+
#ifdef __cplusplus
extern "C" {
#endif
@@ -39,6 +43,9 @@ extern "C" {
#include <rtems/score/heap.h>
#include <rtems/debug.h>
#include <rtems/rtems/attr.h>
+#include <rtems/rtems/options.h>
+#include <rtems/rtems/status.h>
+#include <rtems/rtems/support.h>
#include <rtems/rtems/types.h>
/*
@@ -63,7 +70,7 @@ typedef struct {
* manage this class of objects.
*/
-RTEMS_EXTERN Objects_Information _Region_Information;
+RTEMS_REGION_EXTERN Objects_Information _Region_Information;
/*
* _Region_Manager_initialization