summaryrefslogtreecommitdiffstats
path: root/cpukit/sapi/src/exinit.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2016-02-03 12:41:02 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2016-02-17 09:15:01 +0100
commit358bd740593132ddb00d6e33b4f512b5f9615597 (patch)
tree480e1259d433ef74df494e5d4b1a4481f0b1662e /cpukit/sapi/src/exinit.c
parentsparc64: Avoid SCORE_EXTERN (diff)
downloadrtems-358bd740593132ddb00d6e33b4f512b5f9615597.tar.bz2
score: Avoid SCORE_EXTERN
Delete SCORE_INIT. This finally removes the some.h: #ifndef SOME_XYZ_EXTERN #define SOME_XYZ_EXTERN extern #endif SOME_XYZ_EXTERN type xyz; some_xyz.c: #define SOME_XYZ_EXTERN #include <some.h> pattern in favour of some.h: extern type xyz; some_xyz.c #include <some.h> type xyz; Update #2559.
Diffstat (limited to 'cpukit/sapi/src/exinit.c')
-rw-r--r--cpukit/sapi/src/exinit.c15
1 files changed, 8 insertions, 7 deletions
diff --git a/cpukit/sapi/src/exinit.c b/cpukit/sapi/src/exinit.c
index 77633a269a..7df23161f3 100644
--- a/cpukit/sapi/src/exinit.c
+++ b/cpukit/sapi/src/exinit.c
@@ -19,13 +19,6 @@
#include "config.h"
#endif
-/*
- * SCORE_INIT is defined so all of the super core
- * data will be included in this object file.
- */
-
-#define SCORE_INIT
-
#include <rtems/system.h>
#include <rtems/config.h>
#include <rtems/extensionimpl.h>
@@ -48,6 +41,10 @@
#include <rtems/score/watchdogimpl.h>
#include <rtems/score/wkspace.h>
+const char _Copyright_Notice[] =
+"COPYRIGHT (c) 1989-2008.\n\
+On-Line Applications Research Corporation (OAR).\n";
+
static Objects_Information *
_Internal_Objects[ OBJECTS_INTERNAL_CLASSES_LAST + 1 ];
@@ -62,6 +59,10 @@ Objects_Information **_Objects_Information_table[ OBJECTS_APIS_LAST + 1 ] = {
&_POSIX_Objects[ 0 ]
};
+API_Mutex_Control *_RTEMS_Allocator_Mutex;
+
+API_Mutex_Control *_Once_Mutex;
+
static void rtems_initialize_data_structures(void)
{
/*