From ce4e47fed011aaea8720c16b940600231fdab789 Mon Sep 17 00:00:00 2001 From: jmg Date: Sun, 15 Aug 2004 15:36:18 +0000 Subject: move the declaration of struct kqlist into the non-KERNEL visable section to fix userland. --- sys/sys/event.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'sys') 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 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) -- cgit v1.1