summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Binkert <nate@cvs.openbsd.org>2003-05-22 19:59:14 +0000
committerNathan Binkert <nate@cvs.openbsd.org>2003-05-22 19:59:14 +0000
commitd1716823b403988d32df4bdd5a47cebe3cf824c8 (patch)
treecccd376532756d47e9d030d57a5416d640dce8ee
parenteef3113a79549609a465d219f2d0c0519943927f (diff)
filterops doesn't need to change, so we can make it const
ok deraadt@
-rw-r--r--sys/sys/event.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/sys/event.h b/sys/sys/event.h
index a24caaba2a0..822e852fc46 100644
--- a/sys/sys/event.h
+++ b/sys/sys/event.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: event.h,v 1.4 2002/03/14 01:27:14 millert Exp $ */
+/* $OpenBSD: event.h,v 1.5 2003/05/22 19:59:13 nate Exp $ */
/*-
* Copyright (c) 1999,2000,2001 Jonathan Lemon <jlemon@FreeBSD.org>
@@ -143,7 +143,7 @@ struct knote {
struct file *p_fp; /* file data pointer */
struct proc *p_proc; /* proc pointer */
} kn_ptr;
- struct filterops *kn_fop;
+ const struct filterops *kn_fop;
caddr_t kn_hook;
#define KN_ACTIVE 0x01 /* event has been triggered */
#define KN_QUEUED 0x02 /* event is on queue */