summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2017-04-04 10:39:45 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2017-04-04 10:40:42 +0200
commitb3bfc242ede89ec72c95f0d0eb6b1fdca6c7ecca (patch)
treee87c1c18a2ac32bfab97d149d22c3b31588e6bfd /cpukit/libcsupport
parenttestsuite: Add a common test configuration. Fix configure.ac and Makefile.am ... (diff)
downloadrtems-b3bfc242ede89ec72c95f0d0eb6b1fdca6c7ecca.tar.bz2
sys/event.h: Update to FreeBSD head 2017-02-13
Diffstat (limited to 'cpukit/libcsupport')
-rw-r--r--cpukit/libcsupport/include/sys/event.h16
1 files changed, 9 insertions, 7 deletions
diff --git a/cpukit/libcsupport/include/sys/event.h b/cpukit/libcsupport/include/sys/event.h
index 6639b1ed66..bc18aa90ea 100644
--- a/cpukit/libcsupport/include/sys/event.h
+++ b/cpukit/libcsupport/include/sys/event.h
@@ -23,13 +23,14 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $FreeBSD: head/sys/sys/event.h 311055 2017-01-02 09:02:39Z kib $
+ * $FreeBSD: head/sys/sys/event.h 313704 2017-02-13 19:00:09Z ed $
*/
#ifndef _SYS_EVENT_H_
#define _SYS_EVENT_H_
-#include <sys/queue.h>
+#include <sys/_types.h>
+#include <sys/queue.h>
#define EVFILT_READ (-1)
#define EVFILT_WRITE (-2)
@@ -43,7 +44,8 @@
#define EVFILT_LIO (-10) /* attached to lio requests */
#define EVFILT_USER (-11) /* User events */
#define EVFILT_SENDFILE (-12) /* attached to sendfile requests */
-#define EVFILT_SYSCOUNT 12
+#define EVFILT_EMPTY (-13) /* empty send socket buf */
+#define EVFILT_SYSCOUNT 13
#define EV_SET(kevp_, a, b, c, d, e, f) do { \
struct kevent *kevp = (kevp_); \
@@ -56,11 +58,11 @@
} while(0)
struct kevent {
- uintptr_t ident; /* identifier for this event */
+ __uintptr_t ident; /* identifier for this event */
short filter; /* filter for event */
- u_short flags;
- u_int fflags;
- intptr_t data;
+ unsigned short flags;
+ unsigned int fflags;
+ __intptr_t data;
void *udata; /* opaque user data identifier */
};