source: rtems/cpukit/posix/src/ptimer.c @ 8a02d0af

4.104.114.84.9
Last change on this file since 8a02d0af was 8a02d0af, checked in by Ralf Corsepius <ralf.corsepius@…>, on Jun 18, 2006 at 5:48:20 AM

PR 1088/rtems
Add missing #include <limits.h>.

  • Property mode set to 100644
File size: 1.7 KB
Line 
1/*
2 *  ptimer.c,v 1.1 1996/06/03 16:29:58 joel Exp
3 */
4
5#if HAVE_CONFIG_H
6#include "config.h"
7#endif
8
9#include <assert.h>
10#include <time.h>
11#include <errno.h>
12#include <limits.h> /* _POSIX_PATH_MAX */
13
14#include <rtems/system.h>
15#include <rtems/score/isr.h>
16#include <rtems/score/thread.h>
17#include <rtems/score/tod.h>
18
19#include <rtems/posix/time.h>
20
21/************************************/
22/* These includes are now necessary */
23/************************************/
24
25#include <unistd.h>
26#include <rtems/rtems/status.h>
27#include <rtems/rtems/types.h>
28#include <rtems/rtems/timer.h>
29#include <rtems/rtems/clock.h>
30#include <rtems/posix/psignal.h>
31#include <rtems/score/wkspace.h>
32#include <pthread.h>
33#include <stdio.h>
34#include <signal.h>
35
36#include <rtems/posix/timer.h>
37
38/*
39 * _POSIX_Timer_Manager_initialization
40 *
41 *  Description: Initialize the internal structure in which the data of all
42 *               the timers are stored
43 */
44
45void _POSIX_Timer_Manager_initialization ( int maximum_timers )
46{
47  _Objects_Initialize_information(
48    &_POSIX_Timer_Information,  /* object information table */
49    OBJECTS_POSIX_API,          /* object API */
50    OBJECTS_POSIX_TIMERS,       /* object class */
51    maximum_timers,             /* maximum objects of this class */
52    sizeof( POSIX_Timer_Control ),
53                                /* size of this object's control block */
54    FALSE,                      /* TRUE if names for this object are strings */
55    _POSIX_PATH_MAX             /* maximum length of each object's name */
56#if defined(RTEMS_MULTIPROCESSING)
57    ,
58    FALSE,                      /* TRUE if this is a global object class */
59    NULL                        /* Proxy extraction support callout */
60#endif
61  );
62}
Note: See TracBrowser for help on using the repository browser.