Changeset c627b2a3 in rtems for cpukit/sapi/src/posixapi.c


Ignore:
Timestamp:
05/28/96 21:40:52 (27 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
974ff40
Parents:
c6fa38c0
Message:

split the inclusion of "EXTERN" data based on whether it was sapi,
score, rtems api, or posix api related.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/sapi/src/posixapi.c

    rc6fa38c0 rc627b2a3  
    1515 */
    1616
     17#ifdef RTEMS_POSIX_API
     18
    1719#include <assert.h>
     20
     21/*
     22 *  POSIX_API_INIT is defined so all of the POSIX API
     23 *  data will be included in this object file.
     24 */
     25
     26#define POSIX_API_INIT
    1827
    1928#include <rtems/system.h>
    2029
    21 #define INIT
    22 
     30#include <sys/types.h>
     31#include <rtems/config.h>
    2332#include <rtems/posix/cond.h>
    24 #include <rtems/posix/condmp.h>
    2533#include <rtems/posix/config.h>
    2634#include <rtems/posix/key.h>
    2735#include <rtems/posix/mutex.h>
    28 #include <rtems/posix/mutexmp.h>
    2936#include <rtems/posix/priority.h>
    3037#include <rtems/posix/pthread.h>
    31 #include <rtems/posix/pthreadmp.h>
    3238#include <rtems/posix/time.h>
    3339
     
    4955  assert( api_configuration );
    5056
    51   _RTEMS_tasks_Manager_initialization(
    52     api_configuration->maximum_tasks
    53 #if 0
    54 ,
     57  _POSIX_Threads_Manager_initialization(
     58    api_configuration->maximum_threads,
    5559    api_configuration->number_of_initialization_tasks,
    5660    api_configuration->User_initialization_tasks_table
    57 #endif
    5861  );
    5962 
     
    6265  );
    6366
    64   void _POSIX_Key_Manager_initialization( api_configuration->maximum_keys );
     67  _POSIX_Key_Manager_initialization( api_configuration->maximum_keys );
    6568
    6669  _POSIX_Mutex_Manager_initialization(
     
    7073}
    7174
     75#endif
    7276/* end of file */
Note: See TracChangeset for help on using the changeset viewer.