diff options
author | jmg <jmg@FreeBSD.org> | 2004-08-15 15:36:18 +0000 |
---|---|---|
committer | jmg <jmg@FreeBSD.org> | 2004-08-15 15:36:18 +0000 |
commit | ce4e47fed011aaea8720c16b940600231fdab789 (patch) | |
tree | 13b1a1616f11e0e90616784142588a0873f0bcb9 | |
parent | 210c7636d416c56ed777067c575d7d85a7f413cf (diff) | |
download | FreeBSD-src-ce4e47fed011aaea8720c16b940600231fdab789.zip FreeBSD-src-ce4e47fed011aaea8720c16b940600231fdab789.tar.gz |
move the declaration of struct kqlist into the non-KERNEL visable section
to fix userland.
-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) |