summaryrefslogtreecommitdiffstats
path: root/sys/sys/timers.h
diff options
context:
space:
mode:
authordavidxu <davidxu@FreeBSD.org>2005-10-23 12:19:08 +0000
committerdavidxu <davidxu@FreeBSD.org>2005-10-23 12:19:08 +0000
commit7086514f41a8629e4d5de82e04da61a0d8984c7a (patch)
tree102c102a88cf109e39d6ce10f15ba455e6d2fb0d /sys/sys/timers.h
parent34d1b4d779aad03872c69239800bb0c43f930720 (diff)
downloadFreeBSD-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.h4
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_ */
OpenPOWER on IntegriCloud