summaryrefslogtreecommitdiff
path: root/sys/kern
diff options
context:
space:
mode:
authorVisa Hankala <visa@cvs.openbsd.org>2020-12-18 16:10:59 +0000
committerVisa Hankala <visa@cvs.openbsd.org>2020-12-18 16:10:59 +0000
commit312dcb44501b10df5b384dcb13b55a015ccb871f (patch)
treec81ba06dd3902f34bef782cca689feceea0f9b3e /sys/kern
parent0735154680fc252c408039628b5163c303a43cc2 (diff)
Make knote_{activate,remove}() internal to kern_event.c.
OK mpi@
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/kern_event.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/kern/kern_event.c b/sys/kern/kern_event.c
index 697ada53f25..a17e996e2ad 100644
--- a/sys/kern/kern_event.c
+++ b/sys/kern/kern_event.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_event.c,v 1.150 2020/12/16 15:07:30 visa Exp $ */
+/* $OpenBSD: kern_event.c,v 1.151 2020/12/18 16:10:57 visa Exp $ */
/*-
* Copyright (c) 1999,2000,2001 Jonathan Lemon <jlemon@FreeBSD.org>
@@ -95,6 +95,8 @@ void knote_enqueue(struct knote *kn);
void knote_dequeue(struct knote *kn);
int knote_acquire(struct knote *kn);
void knote_release(struct knote *kn);
+void knote_activate(struct knote *kn);
+void knote_remove(struct proc *p, struct knlist *list);
void filt_kqdetach(struct knote *kn);
int filt_kqueue(struct knote *kn, long hint);