From a95e8cd364d9ad58069c9c8db5af103eefa1840b Mon Sep 17 00:00:00 2001 From: Paul Saab Date: Tue, 1 Mar 2005 06:32:53 +0000 Subject: [PATCH] Correct the freebsd32_kevent prototype. --- sys/compat/freebsd32/freebsd32_proto.h | 6 +++--- sys/compat/freebsd32/syscalls.master | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/sys/compat/freebsd32/freebsd32_proto.h b/sys/compat/freebsd32/freebsd32_proto.h index 8324f15cd2db..a8c5bc5d47aa 100644 --- a/sys/compat/freebsd32/freebsd32_proto.h +++ b/sys/compat/freebsd32/freebsd32_proto.h @@ -189,11 +189,11 @@ struct freebsd32_modstat_args { }; struct freebsd32_kevent_args { char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; - char changelist_l_[PADL_(const struct kevent *)]; const struct kevent * changelist; char changelist_r_[PADR_(const struct kevent *)]; + char changelist_l_[PADL_(const struct kevent32 *)]; const struct kevent32 * changelist; char changelist_r_[PADR_(const struct kevent32 *)]; char nchanges_l_[PADL_(int)]; int nchanges; char nchanges_r_[PADR_(int)]; - char eventlist_l_[PADL_(struct kevent *)]; struct kevent * eventlist; char eventlist_r_[PADR_(struct kevent *)]; + char eventlist_l_[PADL_(struct kevent32 *)]; struct kevent32 * eventlist; char eventlist_r_[PADR_(struct kevent32 *)]; char nevents_l_[PADL_(int)]; int nevents; char nevents_r_[PADR_(int)]; - char timeout_l_[PADL_(const struct timespec *)]; const struct timespec * timeout; char timeout_r_[PADR_(const struct timespec *)]; + char timeout_l_[PADL_(const struct timespec32 *)]; const struct timespec32 * timeout; char timeout_r_[PADR_(const struct timespec32 *)]; }; struct freebsd32_sendfile_args { char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; diff --git a/sys/compat/freebsd32/syscalls.master b/sys/compat/freebsd32/syscalls.master index 49278004e2e1..01b9bf293aee 100644 --- a/sys/compat/freebsd32/syscalls.master +++ b/sys/compat/freebsd32/syscalls.master @@ -511,9 +511,9 @@ 361 MNOPROTO { int getresgid(gid_t *rgid, gid_t *egid, gid_t *sgid); } 362 MNOPROTO { int kqueue(void); } 363 MSTD { int freebsd32_kevent(int fd, \ - const struct kevent *changelist, int nchanges, \ - struct kevent *eventlist, int nevents, \ - const struct timespec *timeout); } + const struct kevent32 *changelist, int nchanges, \ + struct kevent32 *eventlist, int nevents, \ + const struct timespec32 *timeout); } 364 UNIMPL __cap_get_proc 365 UNIMPL __cap_set_proc 366 UNIMPL __cap_get_fd