Changeset 529b08a7 in rtems


Ignore:
Timestamp:
Dec 15, 2015, 8:38:31 AM (4 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
3d36164f
Parents:
2605a48
git-author:
Sebastian Huber <sebastian.huber@…> (12/15/15 08:38:31)
git-committer:
Sebastian Huber <sebastian.huber@…> (02/03/16 09:00:56)
Message:

posix: Delete empty _POSIX_API_Initialize()

Location:
cpukit
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • cpukit/posix/include/rtems/posix/posixapi.h

    r2605a48 r529b08a7  
    5050
    5151/**
    52  * @brief Initialize POSIX API.
    53  *
    54  * This method is responsible for initializing each of the POSIX
    55  * API managers.
    56  */
    57 void _POSIX_API_Initialize(void);
    58 
    59 /**
    6052 * @brief Queries the object identifier @a id for a @a name.
    6153 *
  • cpukit/sapi/src/exinit.c

    r2605a48 r529b08a7  
    5252#include <rtems/sptables.h>
    5353
    54 
    55 #include <rtems/posix/posixapi.h>
    56 
    5754#ifdef RTEMS_DRVMGR_STARTUP
    5855  #include <drvmgr/drvmgr.h>
     
    129126
    130127  _SMP_Handler_initialize();
    131 
    132 /* MANAGERS */
    133 
    134   _POSIX_API_Initialize();
    135128}
    136129
  • cpukit/sapi/src/posixapi.c

    r2605a48 r529b08a7  
    2020#endif
    2121
    22 #define POSIX_API_INIT
    23 
    24 #include <rtems/system.h>    /* include this before checking RTEMS_POSIX_API */
    25 
    26 #include <rtems/config.h>
    2722#include <rtems/posix/posixapi.h>
    28 
    29 #ifdef RTEMS_POSIX_API
    30 #include <sys/types.h>
    31 #include <mqueue.h>
    32 #include <rtems/config.h>
    33 #include <rtems/posix/config.h>
    34 #include <rtems/posix/priorityimpl.h>
    35 #include <rtems/posix/psignalimpl.h>
    36 #endif
    3723
    3824void _POSIX_Fatal_error( POSIX_Fatal_domain domain, int eno )
     
    4228  _Terminate( INTERNAL_ERROR_POSIX_API, false, code );
    4329}
    44 
    45 void _POSIX_API_Initialize(void)
    46 {
    47   /*
    48    * If there are any type size assumptions in the POSIX API, this is
    49    * the appropriate place to place them.
    50    *
    51    * Currently, there are no none type size assumptions.
    52    */
    53 }
  • cpukit/score/include/rtems/score/basedefs.h

    r2605a48 r529b08a7  
    9494  #undef  SAPI_EXTERN
    9595  #define SAPI_EXTERN  extern
    96 #endif
    97 
    98 /**
    99  *  The following ensures that all data is declared in the space
    100  *  of the initialization routine for either the Initialization Manager
    101  *  or the initialization file for the appropriate API.  It is
    102  *  referenced as "external" in every other file.
    103  */
    104 #ifdef POSIX_API_INIT
    105   #undef  POSIX_EXTERN
    106   #define POSIX_EXTERN
    107 #else
    108   #undef  POSIX_EXTERN
    109   #define POSIX_EXTERN  extern
    11096#endif
    11197
Note: See TracChangeset for help on using the changeset viewer.