diff options
author | 2020-06-11 09:18:43 +0000 | |
---|---|---|
committer | 2020-06-11 09:18:43 +0000 | |
commit | 1c57bd6bc2d4b1536ac76e1cdb4ba92124a01e2a (patch) | |
tree | cf6c4012afeddc39d7109022ec66f36b3657a917 /sys/sys/event.h | |
parent | Make spec_kqfilter() and cttykqfilter() behave like their corresponding (diff) | |
download | wireguard-openbsd-1c57bd6bc2d4b1536ac76e1cdb4ba92124a01e2a.tar.xz wireguard-openbsd-1c57bd6bc2d4b1536ac76e1cdb4ba92124a01e2a.zip |
Rename poll-compatibility flag to better reflect what it is.
While here prefix kernel-only EV flags with two underbars.
Suggested by kettenis@, ok visa@
Diffstat (limited to 'sys/sys/event.h')
-rw-r--r-- | sys/sys/event.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/sys/event.h b/sys/sys/event.h index a5000398a8f..6db296e2b24 100644 --- a/sys/sys/event.h +++ b/sys/sys/event.h @@ -1,4 +1,4 @@ -/* $OpenBSD: event.h,v 1.39 2020/06/08 08:04:10 mpi Exp $ */ +/* $OpenBSD: event.h,v 1.40 2020/06/11 09:18:43 mpi Exp $ */ /*- * Copyright (c) 1999,2000,2001 Jonathan Lemon <jlemon@FreeBSD.org> @@ -74,8 +74,8 @@ struct kevent { #define EV_DISPATCH 0x0080 /* disable event after reporting */ #define EV_SYSFLAGS 0xF000 /* reserved by system */ -#define EV_OLDAPI 0x1000 /* match behavior of poll & select */ -#define EV_FLAG1 0x2000 /* filter-specific flag */ +#define __EV_POLL 0x1000 /* match behavior of poll & select */ +#define __EV_FLAG1 0x2000 /* filter-specific flag */ /* returned values */ #define EV_EOF 0x8000 /* EOF detected */ |