summaryrefslogtreecommitdiffstats
path: root/sys/sys/callout.h
diff options
context:
space:
mode:
authorjake <jake@FreeBSD.org>2000-05-26 02:09:24 +0000
committerjake <jake@FreeBSD.org>2000-05-26 02:09:24 +0000
commit961b97d43458f3c57241940cabebb3bedf7e4c00 (patch)
tree6014972d9b90b4e3a8b20dbea641a88cf6355c13 /sys/sys/callout.h
parent06b64672180d9b04ae6d35db819c854df3c3c684 (diff)
downloadFreeBSD-src-961b97d43458f3c57241940cabebb3bedf7e4c00.zip
FreeBSD-src-961b97d43458f3c57241940cabebb3bedf7e4c00.tar.gz
Back out the previous change to the queue(3) interface.
It was not discussed and should probably not happen. Requested by: msmith and others
Diffstat (limited to 'sys/sys/callout.h')
-rw-r--r--sys/sys/callout.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/sys/callout.h b/sys/sys/callout.h
index c2c8b9b..c83bf44 100644
--- a/sys/sys/callout.h
+++ b/sys/sys/callout.h
@@ -44,13 +44,13 @@
#include <sys/queue.h>
-SLIST_HEAD(callout_list, struct callout);
-TAILQ_HEAD(callout_tailq, struct callout);
+SLIST_HEAD(callout_list, callout);
+TAILQ_HEAD(callout_tailq, callout);
struct callout {
union {
- SLIST_ENTRY(struct callout) sle;
- TAILQ_ENTRY(struct callout) tqe;
+ SLIST_ENTRY(callout) sle;
+ TAILQ_ENTRY(callout) tqe;
} c_links;
int c_time; /* ticks to the event */
void *c_arg; /* function argument */
OpenPOWER on IntegriCloud