diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2000-08-15 13:19:57 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2000-08-15 13:19:57 +0000 |
commit | 939e29dc4d68ed7bd8c89b70d262bb72c0ff66c3 (patch) | |
tree | 340464e30b63b201f4f1ddfad83ae55f59e3b3ef /c/src/exec/posix/src/ptimer.c | |
parent | 2000-08-15 Joel Sherrill <joel@OARcorp.com> (diff) | |
download | rtems-939e29dc4d68ed7bd8c89b70d262bb72c0ff66c3.tar.bz2 |
2000-08-15 Joel Sherrill <joel@OARcorp.com>
* src/ptimer1.c: Removed unused routine PRINT_ERRNO_S.
* src/ptimer1.c: Removed unnecessary routine COPY_ITIMERSPEC_S
and used structure copy instead.
* src/ptimer1.c: Renamed timer_alive_t to POSIX_Timer_Control.
* include/rtems/posix/timer.h: Ditto.
Diffstat (limited to 'c/src/exec/posix/src/ptimer.c')
-rw-r--r-- | c/src/exec/posix/src/ptimer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/c/src/exec/posix/src/ptimer.c b/c/src/exec/posix/src/ptimer.c index d8733e8bfa..ab51dcc9bb 100644 --- a/c/src/exec/posix/src/ptimer.c +++ b/c/src/exec/posix/src/ptimer.c @@ -74,7 +74,7 @@ void TIMER_INITIALIZE_S ( int timer_pos ) * ***************************************************************************/ int timer_max; -timer_alive_t *timer_struct; +POSIX_Timer_Control *timer_struct; void _POSIX_Timer_Manager_initialization ( int max_timers ) @@ -82,7 +82,7 @@ void _POSIX_Timer_Manager_initialization ( int max_timers ) int index; timer_struct = _Workspace_Allocate_or_fatal_error( - max_timers * sizeof(timer_alive_t) ); + max_timers * sizeof(POSIX_Timer_Control) ); /* * Initialize all the timers |