summaryrefslogtreecommitdiffstats
path: root/sys/sys/callout.h
diff options
context:
space:
mode:
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