summaryrefslogtreecommitdiffstats
path: root/sys/sys/sysproto.h
diff options
context:
space:
mode:
authorjlemon <jlemon@FreeBSD.org>2000-07-18 19:31:52 +0000
committerjlemon <jlemon@FreeBSD.org>2000-07-18 19:31:52 +0000
commit717104720438689588cc958bf3016b3f7930189b (patch)
tree05255c6232c0c7bad7137781cf031061e43a8d0d /sys/sys/sysproto.h
parent613d783c9563e8d6915c7b58a4d9fd84bd83c356 (diff)
downloadFreeBSD-src-717104720438689588cc958bf3016b3f7930189b.zip
FreeBSD-src-717104720438689588cc958bf3016b3f7930189b.tar.gz
Simplify kqueue API slightly.
Discussed on: -arch
Diffstat (limited to 'sys/sys/sysproto.h')
-rw-r--r--sys/sys/sysproto.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/sys/sysproto.h b/sys/sys/sysproto.h
index 0ead29f..2696e5a 100644
--- a/sys/sys/sysproto.h
+++ b/sys/sys/sysproto.h
@@ -1015,11 +1015,11 @@ struct kqueue_args {
};
struct kevent_args {
int fd; char fd_[PAD_(int)];
+ const struct kevent * changelist; char changelist_[PAD_(const struct kevent *)];
int nchanges; char nchanges_[PAD_(int)];
- struct kevent ** changelist; char changelist_[PAD_(struct kevent **)];
- int nevents; char nevents_[PAD_(int)];
struct kevent * eventlist; char eventlist_[PAD_(struct kevent *)];
- struct timespec * timeout; char timeout_[PAD_(struct timespec *)];
+ int nevents; char nevents_[PAD_(int)];
+ const struct timespec * timeout; char timeout_[PAD_(const struct timespec *)];
};
struct __cap_get_proc_args {
struct cap * cap_p; char cap_p_[PAD_(struct cap *)];
OpenPOWER on IntegriCloud