summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1999-04-12 15:36:07 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1999-04-12 15:36:07 +0000
commitd1153156f0ce8a8a7512afb32094ee1fba68fb29 (patch)
treeb1ef878aba99beb45b24e402abda88b5c360880f
parentee3f8b8c85fb51c9c6f9f526c67a676076e6def3 (diff)
downloadrtems-d1153156f0ce8a8a7512afb32094ee1fba68fb29.tar.bz2
Added line to initialize timer_max.
-rw-r--r--c/src/exec/posix/src/ptimer.c2
-rw-r--r--cpukit/posix/src/ptimer.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/c/src/exec/posix/src/ptimer.c b/c/src/exec/posix/src/ptimer.c
index ff65297f96..ac11a5cd37 100644
--- a/c/src/exec/posix/src/ptimer.c
+++ b/c/src/exec/posix/src/ptimer.c
@@ -191,6 +191,8 @@ void _POSIX_Timer_Manager_initialization ( int max_timers )
for (index=0; index<max_timers; index++)
TIMER_INITIALIZE_S( index );
+
+ timer_max = max_timers;
}
/* ***************************************************************************
diff --git a/cpukit/posix/src/ptimer.c b/cpukit/posix/src/ptimer.c
index ff65297f96..ac11a5cd37 100644
--- a/cpukit/posix/src/ptimer.c
+++ b/cpukit/posix/src/ptimer.c
@@ -191,6 +191,8 @@ void _POSIX_Timer_Manager_initialization ( int max_timers )
for (index=0; index<max_timers; index++)
TIMER_INITIALIZE_S( index );
+
+ timer_max = max_timers;
}
/* ***************************************************************************