diff options
author | nate <nate@openbsd.org> | 2003-05-22 19:59:13 +0000 |
---|---|---|
committer | nate <nate@openbsd.org> | 2003-05-22 19:59:13 +0000 |
commit | 0e0588b20416254011a7047f28ab18bcf6cdb532 (patch) | |
tree | d18e339d6a3fab48fc95a8dc8bc9ac56ccca9b5d /sys/sys/event.h | |
parent | fix function name in the debugging printf (diff) | |
download | wireguard-openbsd-0e0588b20416254011a7047f28ab18bcf6cdb532.tar.xz wireguard-openbsd-0e0588b20416254011a7047f28ab18bcf6cdb532.zip |
filterops doesn't need to change, so we can make it const
ok deraadt@
Diffstat (limited to 'sys/sys/event.h')
-rw-r--r-- | sys/sys/event.h | 4 |
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 */ |