summaryrefslogtreecommitdiffstats
path: root/cpukit/sapi/include/rtems/extension.h
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2007-05-21 23:19:36 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2007-05-21 23:19:36 +0000
commit6f1384cd4ff2518fbbde7fe99f4cbc7112ec14fc (patch)
tree75216d7fabbbe051420f24832c803ac74418ee7d /cpukit/sapi/include/rtems/extension.h
parent2007-05-21 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-6f1384cd4ff2518fbbde7fe99f4cbc7112ec14fc.tar.bz2
Split Classic API data instantiation into individual files. This reduces the size of the BSS section when an optional manageer stub is used. Some tests showed about a 600 byte reduction in BSS size. Also eliminated the variables _RTEMS_tasks_User_initialization_tasks and _RTEMS_tasks_Number_of_initialization_tasks because they were only used in one place after initialized. It was a waste of space.
Diffstat (limited to 'cpukit/sapi/include/rtems/extension.h')
-rw-r--r--cpukit/sapi/include/rtems/extension.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/cpukit/sapi/include/rtems/extension.h b/cpukit/sapi/include/rtems/extension.h
index 65ac6ce280..a1f448c98e 100644
--- a/cpukit/sapi/include/rtems/extension.h
+++ b/cpukit/sapi/include/rtems/extension.h
@@ -13,7 +13,7 @@
* + get ID of user extension set
* + delete user extension set
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2007.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -26,14 +26,18 @@
#ifndef _RTEMS_EXTENSION_H
#define _RTEMS_EXTENSION_H
+#ifndef SAPI_EXT_EXTERN
+#define SAPI_EXT_EXTERN extern
+#endif
+
#ifdef __cplusplus
extern "C" {
#endif
#include <rtems/score/object.h>
#include <rtems/score/userext.h>
-#include <rtems/rtems/status.h> /* XXX */
-#include <rtems/rtems/types.h> /* XXX */
+#include <rtems/rtems/status.h>
+#include <rtems/rtems/types.h>
/*
* Extension related types
@@ -58,7 +62,7 @@ typedef User_extensions_Table rtems_extensions_table;
* this class of objects.
*/
-SAPI_EXTERN Objects_Information _Extension_Information;
+SAPI_EXT_EXTERN Objects_Information _Extension_Information;
/*
* The following records define the control block used to manage