diff options
Diffstat (limited to 'sys/sys/event.h')
-rw-r--r-- | sys/sys/event.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/sys/event.h b/sys/sys/event.h index 72035fb..e1ededb 100644 --- a/sys/sys/event.h +++ b/sys/sys/event.h @@ -136,9 +136,9 @@ MALLOC_DECLARE(M_KQUEUE); struct filterops { int f_isfd; /* true if ident == filedescriptor */ - int (*f_attach) __P((struct knote *kn)); - void (*f_detach) __P((struct knote *kn)); - int (*f_event) __P((struct knote *kn, long hint)); + int (*f_attach) (struct knote *kn); + void (*f_detach) (struct knote *kn); + int (*f_event) (struct knote *kn, long hint); }; struct knote { @@ -186,10 +186,10 @@ extern int kqueue_del_filteropts(int filt); struct timespec; __BEGIN_DECLS -int kqueue __P((void)); -int kevent __P((int kq, const struct kevent *changelist, int nchanges, +int kqueue(void); +int kevent(int kq, const struct kevent *changelist, int nchanges, struct kevent *eventlist, int nevents, - const struct timespec *timeout)); + const struct timespec *timeout); __END_DECLS #endif /* !_KERNEL */ |