move the declaration of struct kqlist into the non-KERNEL visable section

to fix userland.
This commit is contained in:
John-Mark Gurney 2004-08-15 15:36:18 +00:00
parent f62d59df32
commit aafa519a46

View File

@ -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)