summaryrefslogtreecommitdiffstats
path: root/c/src/exec
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1999-11-16 16:04:51 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1999-11-16 16:04:51 +0000
commitf4b76ab569d76efb503542b2d5bb857cd37cf83f (patch)
treed3f94c21805f254c3e71c8d8ba7583518241e9ff /c/src/exec
parentWorks now. (diff)
downloadrtems-f4b76ab569d76efb503542b2d5bb857cd37cf83f.tar.bz2
Fixed so can be included multiple times in the executive source.
Diffstat (limited to 'c/src/exec')
-rw-r--r--c/src/exec/sapi/include/rtems/sptables.h.in9
1 files changed, 9 insertions, 0 deletions
diff --git a/c/src/exec/sapi/include/rtems/sptables.h.in b/c/src/exec/sapi/include/rtems/sptables.h.in
index 737095a7de..de98be836c 100644
--- a/c/src/exec/sapi/include/rtems/sptables.h.in
+++ b/c/src/exec/sapi/include/rtems/sptables.h.in
@@ -50,6 +50,7 @@ extern "C" {
* It is used in single processor configurations.
*/
+#if defined(SAPI_INIT)
const rtems_multiprocessing_table
_Initialization_Default_multiprocessing_table = {
1, /* local node number */
@@ -58,6 +59,10 @@ const rtems_multiprocessing_table
0, /* maximum number proxies */
NULL, /* pointer to MPCI address table */
};
+#else
+extern const rtems_multiprocessing_table
+ _Initialization_Default_multiprocessing_table;
+#endif
/*
* This is the version string.
@@ -65,9 +70,13 @@ const rtems_multiprocessing_table
#define RTEMS_VERSION "rtems-@RTEMS_VERSION@"
+#if defined(SAPI_INIT)
const char _RTEMS_version[] =
"RTEMS RELEASE " RTEMS_VERSION
"(" CPU_NAME "/" CPU_MODEL_NAME "/@RTEMS_BSP@)";
+#else
+extern const char _RTEMS_version[];
+#endif
#ifdef __cplusplus
}