summaryrefslogtreecommitdiffstats
path: root/freebsd/kern/kern_event.c
diff options
context:
space:
mode:
Diffstat (limited to 'freebsd/kern/kern_event.c')
-rw-r--r--freebsd/kern/kern_event.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/freebsd/kern/kern_event.c b/freebsd/kern/kern_event.c
index c7dece79..d77ed9e8 100644
--- a/freebsd/kern/kern_event.c
+++ b/freebsd/kern/kern_event.c
@@ -131,7 +131,9 @@ static struct fileops kqueueops = {
static int knote_attach(struct knote *kn, struct kqueue *kq);
static void knote_drop(struct knote *kn, struct thread *td);
+#endif /* __rtems__ */
static void knote_enqueue(struct knote *kn);
+#ifndef __rtems__
static void knote_dequeue(struct knote *kn);
static void knote_init(void);
static struct knote *knote_alloc(int waitok);
@@ -2116,6 +2118,7 @@ knote_drop(struct knote *kn, struct thread *td)
kn->kn_fop = NULL;
knote_free(kn);
}
+#endif /* __rtems__ */
static void
knote_enqueue(struct knote *kn)
@@ -2131,6 +2134,7 @@ knote_enqueue(struct knote *kn)
kqueue_wakeup(kq);
}
+#ifndef __rtems__
static void
knote_dequeue(struct knote *kn)
{