summaryrefslogtreecommitdiffstats
path: root/cpukit/posix/src/ptimer.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/posix/src/ptimer.c')
-rw-r--r--cpukit/posix/src/ptimer.c14
1 files changed, 9 insertions, 5 deletions
diff --git a/cpukit/posix/src/ptimer.c b/cpukit/posix/src/ptimer.c
index 570646e906..3ee6cf8aa5 100644
--- a/cpukit/posix/src/ptimer.c
+++ b/cpukit/posix/src/ptimer.c
@@ -1,5 +1,5 @@
/*
- * COPYRIGHT (c) 1989-2007.
+ * COPYRIGHT (c) 1989-2008.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -18,6 +18,7 @@
#include <limits.h> /* _POSIX_PATH_MAX */
#include <rtems/system.h>
+#include <rtems/config.h>
#include <rtems/score/isr.h>
#include <rtems/score/thread.h>
#include <rtems/score/tod.h>
@@ -44,17 +45,20 @@
/*
* _POSIX_Timer_Manager_initialization
*
- * Description: Initialize the internal structure in which the data of all
- * the timers are stored
+ * Description:
+ *
+ * Initialize the internal structure in which the data of all
+ * the timers are stored
*/
-void _POSIX_Timer_Manager_initialization ( int maximum_timers )
+void _POSIX_Timer_Manager_initialization(void)
{
_Objects_Initialize_information(
&_POSIX_Timer_Information, /* object information table */
OBJECTS_POSIX_API, /* object API */
OBJECTS_POSIX_TIMERS, /* object class */
- maximum_timers, /* maximum objects of this class */
+ Configuration_POSIX_API.maximum_timers,
+ /* maximum objects of this class */
sizeof( POSIX_Timer_Control ),
/* size of this object's control block */
TRUE, /* TRUE if names for this object are strings */