mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-23 02:34:01 +08:00
posix: Delete empty _POSIX_API_Initialize()
This commit is contained in:
@@ -51,9 +51,6 @@
|
||||
|
||||
#include <rtems/sptables.h>
|
||||
|
||||
|
||||
#include <rtems/posix/posixapi.h>
|
||||
|
||||
#ifdef RTEMS_DRVMGR_STARTUP
|
||||
#include <drvmgr/drvmgr.h>
|
||||
#endif
|
||||
@@ -128,10 +125,6 @@ static void rtems_initialize_data_structures(void)
|
||||
#endif
|
||||
|
||||
_SMP_Handler_initialize();
|
||||
|
||||
/* MANAGERS */
|
||||
|
||||
_POSIX_API_Initialize();
|
||||
}
|
||||
|
||||
static void rtems_initialize_before_drivers(void)
|
||||
|
||||
@@ -19,35 +19,11 @@
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#define POSIX_API_INIT
|
||||
|
||||
#include <rtems/system.h> /* include this before checking RTEMS_POSIX_API */
|
||||
|
||||
#include <rtems/config.h>
|
||||
#include <rtems/posix/posixapi.h>
|
||||
|
||||
#ifdef RTEMS_POSIX_API
|
||||
#include <sys/types.h>
|
||||
#include <mqueue.h>
|
||||
#include <rtems/config.h>
|
||||
#include <rtems/posix/config.h>
|
||||
#include <rtems/posix/priorityimpl.h>
|
||||
#include <rtems/posix/psignalimpl.h>
|
||||
#endif
|
||||
|
||||
void _POSIX_Fatal_error( POSIX_Fatal_domain domain, int eno )
|
||||
{
|
||||
uint32_t code = ( domain << 8 ) | ( ( uint32_t ) eno & 0xffU );
|
||||
|
||||
_Terminate( INTERNAL_ERROR_POSIX_API, false, code );
|
||||
}
|
||||
|
||||
void _POSIX_API_Initialize(void)
|
||||
{
|
||||
/*
|
||||
* If there are any type size assumptions in the POSIX API, this is
|
||||
* the appropriate place to place them.
|
||||
*
|
||||
* Currently, there are no none type size assumptions.
|
||||
*/
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user