diff options
-rw-r--r-- | sys/sys/event.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/sys/event.h b/sys/sys/event.h index 1a7956c..e39177f 100644 --- a/sys/sys/event.h +++ b/sys/sys/event.h @@ -123,6 +123,8 @@ struct kevent { #include <sys/_mutex.h> struct knote; SLIST_HEAD(klist, knote); +struct kqueue; +SLIST_HEAD(kqlist, kqueue); struct knlist { struct mtx *kl_lock; /* lock to protect kll_list */ struct klist kl_list; @@ -135,9 +137,6 @@ struct knlist { MALLOC_DECLARE(M_KQUEUE); #endif -struct kqueue; -SLIST_HEAD(kqlist, kqueue); - #define KNOTE(list, hist, lock) knote(list, hist, lock) #define KNOTE_LOCKED(list, hint) knote(list, hint, 1) #define KNOTE_UNLOCKED(list, hint) knote(list, hint, 0) |