diff options
| author | John Baldwin <jhb@FreeBSD.org> | 2001-08-21 15:37:19 +0000 |
|---|---|---|
| committer | John Baldwin <jhb@FreeBSD.org> | 2001-08-21 15:37:19 +0000 |
| commit | c0684ba54919b9f1afebe0558c2bf201e9731608 (patch) | |
| tree | 4b4cb417aa8b676dfab0aedd279c18f9c09abe24 | |
| parent | 4a84918dc91f3374cdf3c3f5362cd903a7ff7830 (diff) | |
Notes
| -rw-r--r-- | sys/sys/callout.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/sys/callout.h b/sys/sys/callout.h index 692cd78e4c33..24caf9f600b0 100644 --- a/sys/sys/callout.h +++ b/sys/sys/callout.h @@ -47,7 +47,7 @@ SLIST_HEAD(callout_list, callout); TAILQ_HEAD(callout_tailq, callout); -struct callout { +struct callout { union { SLIST_ENTRY(callout) sle; TAILQ_ENTRY(callout) tqe; @@ -63,16 +63,16 @@ struct callout { #define CALLOUT_PENDING 0x0004 /* callout is waiting for timeout */ #define CALLOUT_MPSAFE 0x0008 /* callout handler is mp safe */ -struct callout_handle { +struct callout_handle { struct callout *callout; }; #ifdef _KERNEL extern struct callout_list callfree; extern struct callout *callout; -extern int ncallout; +extern int ncallout; extern struct callout_tailq *callwheel; -extern int callwheelsize, callwheelbits, callwheelmask, softticks; +extern int callwheelsize, callwheelbits, callwheelmask, softticks; extern struct mtx callout_lock; #define callout_active(c) ((c)->c_flags & CALLOUT_ACTIVE) |
