posix: Delete empty _POSIX_API_Initialize()

This commit is contained in:
Sebastian Huber
2016-02-03 10:00:56 +01:00
parent 2605a48938
commit 529b08a705
4 changed files with 0 additions and 53 deletions
-7
View File
@@ -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)
-24
View File
@@ -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.
*/
}