From 358bd740593132ddb00d6e33b4f512b5f9615597 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Wed, 3 Feb 2016 12:41:02 +0100 Subject: 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 pattern in favour of some.h: extern type xyz; some_xyz.c #include type xyz; Update #2559. --- cpukit/sapi/src/exinit.c | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'cpukit/sapi/src/exinit.c') 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 #include #include @@ -48,6 +41,10 @@ #include #include +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) { /* -- cgit v1.2.3