diff options
author | davidxu <davidxu@FreeBSD.org> | 2005-10-23 12:19:08 +0000 |
---|---|---|
committer | davidxu <davidxu@FreeBSD.org> | 2005-10-23 12:19:08 +0000 |
commit | 7086514f41a8629e4d5de82e04da61a0d8984c7a (patch) | |
tree | 102c102a88cf109e39d6ce10f15ba455e6d2fb0d /sys/sys/timers.h | |
parent | 34d1b4d779aad03872c69239800bb0c43f930720 (diff) | |
download | FreeBSD-src-7086514f41a8629e4d5de82e04da61a0d8984c7a.zip FreeBSD-src-7086514f41a8629e4d5de82e04da61a0d8984c7a.tar.gz |
Make p_itimers as a pointer, so file sys/proc.h does not need to include
sys/timers.h.
Diffstat (limited to 'sys/sys/timers.h')
-rw-r--r-- | sys/sys/timers.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/sys/timers.h b/sys/sys/timers.h index 9c41e94..18434fa5 100644 --- a/sys/sys/timers.h +++ b/sys/sys/timers.h @@ -94,7 +94,7 @@ struct itimers { struct itimerlist its_virtual; struct itimerlist its_prof; TAILQ_HEAD(, itimer) its_worklist; - struct itimer **its_timers; + struct itimer *its_timers[TIMER_MAX]; }; struct kclock { @@ -112,7 +112,7 @@ struct kclock { #define ITIMER_EV_EXEC 0 #define ITIMER_EV_EXIT 1 -void itimers_init(struct itimers *its); void itimers_event_hook(struct proc *p, int event); + #endif #endif /* !_SYS_TIMERS_H_ */ |