summaryrefslogtreecommitdiff
path: root/sys/kern/kern_event.c
diff options
context:
space:
mode:
authorVisa Hankala <visa@cvs.openbsd.org>2020-01-05 13:46:03 +0000
committerVisa Hankala <visa@cvs.openbsd.org>2020-01-05 13:46:03 +0000
commitac5babb1b66005ac7ddfaaa75f9be66860a62156 (patch)
tree45e7f29e5e740fd0f97c48a3cea5fa1ec1a4be56 /sys/kern/kern_event.c
parent6b98f1c92992bbd8cf36217a795cfdf0ec837ff0 (diff)
Constify instances of struct fileops.
OK anton@, mpi@, bluhm@
Diffstat (limited to 'sys/kern/kern_event.c')
-rw-r--r--sys/kern/kern_event.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_event.c b/sys/kern/kern_event.c
index 3141af589ce..07eb03c6bd2 100644
--- a/sys/kern/kern_event.c
+++ b/sys/kern/kern_event.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_event.c,v 1.114 2020/01/03 05:37:00 visa Exp $ */
+/* $OpenBSD: kern_event.c,v 1.115 2020/01/05 13:46:02 visa Exp $ */
/*-
* Copyright (c) 1999,2000,2001 Jonathan Lemon <jlemon@FreeBSD.org>
@@ -72,7 +72,7 @@ void kqueue_wakeup(struct kqueue *kq);
static void kqueue_expand_hash(struct kqueue *kq);
static void kqueue_expand_list(struct kqueue *kq, int fd);
-struct fileops kqueueops = {
+const struct fileops kqueueops = {
.fo_read = kqueue_read,
.fo_write = kqueue_write,
.fo_ioctl = kqueue_ioctl,