move the declaration of struct kqlist into the non-KERNEL visable section
to fix userland.
This commit is contained in:
parent
f62d59df32
commit
aafa519a46
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user