respectively to avoid compilation errors when one of the POSIX or
X/OPEN version macros is defined. Also sync the field descriptions
with kqueue.2. OK deraadt@
-/* $OpenBSD: event.h,v 1.28 2017/12/18 10:10:53 mpi Exp $ */
+/* $OpenBSD: event.h,v 1.29 2017/12/21 21:04:38 millert Exp $ */
/*-
* Copyright (c) 1999,2000,2001 Jonathan Lemon <jlemon@FreeBSD.org>
struct kevent {
__uintptr_t ident; /* identifier for this event */
short filter; /* filter for event */
- u_short flags;
- u_int fflags;
- __int64_t data;
+ unsigned short flags; /* action flags for kqueue */
+ unsigned int fflags; /* filter flag value */
+ __int64_t data; /* filter data value */
void *udata; /* opaque user data identifier */
};