diff options
author | peter <peter@FreeBSD.org> | 2000-07-28 22:32:25 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2000-07-28 22:32:25 +0000 |
commit | 203d398e48da423c22c6890211f46fc2f3ef145a (patch) | |
tree | f815368e4cad5144c148b1ac92caf4b09f817de2 /sys/kern | |
parent | 3f9fc32eceb427dd1e87171868772e072c40cce3 (diff) | |
download | FreeBSD-src-203d398e48da423c22c6890211f46fc2f3ef145a.zip FreeBSD-src-203d398e48da423c22c6890211f46fc2f3ef145a.tar.gz |
Fix warnings - make kevent args in comment match those in syscalls.master.
Deal with consts.
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/kern_event.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/kern/kern_event.c b/sys/kern/kern_event.c index b40d510..0fce41b 100644 --- a/sys/kern/kern_event.c +++ b/sys/kern/kern_event.c @@ -58,7 +58,7 @@ static void filt_procdetach(struct knote *kn); static int filt_proc(struct knote *kn, long hint); static int kqueue_scan(struct file *fp, int maxevents, - struct kevent *ulistp, struct timespec *timeout, + struct kevent *ulistp, const struct timespec *timeout, struct proc *p); static int kqueue_read(struct file *fp, struct uio *uio, struct ucred *cred, int flags, struct proc *p); @@ -320,11 +320,11 @@ kqueue(struct proc *p, struct kqueue_args *uap) #ifndef _SYS_SYSPROTO_H_ struct kevent_args { int fd; - struct kevent *changelist; + const struct kevent *changelist; int nchanges; struct kevent *eventlist; int nevents; - struct timespec *timeout; + const struct timespec *timeout; }; #endif int @@ -511,7 +511,7 @@ done: static int kqueue_scan(struct file *fp, int maxevents, struct kevent *ulistp, - struct timespec *tsp, struct proc *p) + const struct timespec *tsp, struct proc *p) { struct kqueue *kq = (struct kqueue *)fp->f_data; struct kevent *kevp; |