diff --git a/cpukit/rtems/Makefile.am b/cpukit/rtems/Makefile.am index a295dafddc..c92a7c8bc8 100644 --- a/cpukit/rtems/Makefile.am +++ b/cpukit/rtems/Makefile.am @@ -39,7 +39,6 @@ include_rtems_rtems_HEADERS += include/rtems/rtems/ratemon.h include_rtems_rtems_HEADERS += include/rtems/rtems/ratemonimpl.h include_rtems_rtems_HEADERS += include/rtems/rtems/region.h include_rtems_rtems_HEADERS += include/rtems/rtems/regionimpl.h -include_rtems_rtems_HEADERS += include/rtems/rtems/rtemsapi.h include_rtems_rtems_HEADERS += include/rtems/rtems/sem.h include_rtems_rtems_HEADERS += include/rtems/rtems/semimpl.h include_rtems_rtems_HEADERS += include/rtems/rtems/signal.h diff --git a/cpukit/rtems/include/rtems/rtems/rtemsapi.h b/cpukit/rtems/include/rtems/rtems/rtemsapi.h deleted file mode 100644 index be60241d32..0000000000 --- a/cpukit/rtems/include/rtems/rtems/rtemsapi.h +++ /dev/null @@ -1,37 +0,0 @@ -/** - * @file rtems/rtems/rtemsapi.h - * - * @defgroup ClassicAPI RTEMS API Support - * - * @ingroup ClassicRTEMS - * @brief RTEMS API Support - * - * This routine initializes the RTEMS API by invoking the initialization - * routine for each RTEMS manager with the appropriate parameters - * from the configuration_table. - */ - -/* COPYRIGHT (c) 1989-2008. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may be - * found in the file LICENSE in this distribution or at - * http://www.rtems.org/license/LICENSE. - */ - -#ifndef _RTEMS_RTEMS_RTEMSAPI_H -#define _RTEMS_RTEMS_RTEMSAPI_H - -#include - -/** - * @brief Initializes the RTEMS API - * - * This routine initializes the RTEMS API by invoking the initialization - * routine for each RTEMS manager with the appropriate parameters - * from the configuration_table. - */ -void _RTEMS_API_Initialize(void); - -#endif -/* end of include file */ diff --git a/cpukit/rtems/preinstall.am b/cpukit/rtems/preinstall.am index e082633391..a676cd909a 100644 --- a/cpukit/rtems/preinstall.am +++ b/cpukit/rtems/preinstall.am @@ -135,10 +135,6 @@ $(PROJECT_INCLUDE)/rtems/rtems/regionimpl.h: include/rtems/rtems/regionimpl.h $( $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems/regionimpl.h PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/regionimpl.h -$(PROJECT_INCLUDE)/rtems/rtems/rtemsapi.h: include/rtems/rtems/rtemsapi.h $(PROJECT_INCLUDE)/rtems/rtems/$(dirstamp) - $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems/rtemsapi.h -PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/rtemsapi.h - $(PROJECT_INCLUDE)/rtems/rtems/sem.h: include/rtems/rtems/sem.h $(PROJECT_INCLUDE)/rtems/rtems/$(dirstamp) $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems/sem.h PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/sem.h diff --git a/cpukit/rtems/src/taskinitusers.c b/cpukit/rtems/src/taskinitusers.c index aeed5b4523..4403cc43e1 100644 --- a/cpukit/rtems/src/taskinitusers.c +++ b/cpukit/rtems/src/taskinitusers.c @@ -23,7 +23,6 @@ #include #include #include -#include #include #include #include diff --git a/cpukit/sapi/Makefile.am b/cpukit/sapi/Makefile.am index e930a4ca95..91708095a7 100644 --- a/cpukit/sapi/Makefile.am +++ b/cpukit/sapi/Makefile.am @@ -31,7 +31,7 @@ libsapi_a_SOURCES = src/extension.c src/extensioncreate.c \ src/exshutdown.c src/io.c src/ioclose.c src/iocontrol.c src/iodata.c \ src/ioinitialize.c src/ioopen.c src/ioread.c src/ioregisterdriver.c \ src/iounregisterdriver.c src/iowrite.c src/posixapi.c \ - src/rtemsapi.c src/getversionstring.c \ + src/getversionstring.c \ src/chainappendnotify.c src/chaingetnotify.c src/chaingetwait.c \ src/chainprependnotify.c src/rbheap.c src/interrtext.c \ src/fatal2.c src/fatalsrctext.c diff --git a/cpukit/sapi/src/exinit.c b/cpukit/sapi/src/exinit.c index 4b04b5f252..dd5e2c90a0 100644 --- a/cpukit/sapi/src/exinit.c +++ b/cpukit/sapi/src/exinit.c @@ -53,7 +53,6 @@ #include -#include #include #ifdef RTEMS_DRVMGR_STARTUP @@ -135,8 +134,6 @@ static void rtems_initialize_data_structures(void) /* MANAGERS */ - _RTEMS_API_Initialize(); - _POSIX_API_Initialize(); } diff --git a/cpukit/sapi/src/rtemsapi.c b/cpukit/sapi/src/rtemsapi.c deleted file mode 100644 index 0fddec67e9..0000000000 --- a/cpukit/sapi/src/rtemsapi.c +++ /dev/null @@ -1,33 +0,0 @@ -/** - * @file - * - * @brief Initializes the RTEMS API - * - * @ingroup ClassicRTEMS - */ - -/* - * COPYRIGHT (c) 1989-2008. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may be - * found in the file LICENSE in this distribution or at - * http://www.rtems.org/license/LICENSE. - */ - -#if HAVE_CONFIG_H -#include "config.h" -#endif - -#define RTEMS_API_INIT - -#include -#include -#include - -#include -#include - -void _RTEMS_API_Initialize(void) -{ -} diff --git a/cpukit/score/include/rtems/score/basedefs.h b/cpukit/score/include/rtems/score/basedefs.h index 25f505897d..34e021a639 100644 --- a/cpukit/score/include/rtems/score/basedefs.h +++ b/cpukit/score/include/rtems/score/basedefs.h @@ -95,20 +95,6 @@ #define SAPI_EXTERN extern #endif -/** - * The following ensures that all data is declared in the space - * of the initialization routine for either the Initialization Manager - * or the initialization file for the appropriate API. It is - * referenced as "external" in every other file. - */ -#ifdef RTEMS_API_INIT - #undef RTEMS_EXTERN - #define RTEMS_EXTERN -#else - #undef RTEMS_EXTERN - #define RTEMS_EXTERN extern -#endif - /** * The following ensures that all data is declared in the space * of the initialization routine for either the Initialization Manager