svn commit: r336186 - head/sys/sys
David Bright
dab at FreeBSD.org
Wed Jul 11 02:09:12 UTC 2018
Author: dab
Date: Wed Jul 11 02:09:11 2018
New Revision: 336186
URL: https://svnweb.freebsd.org/changeset/base/336186
Log:
Address some (although not all) style(9) issues in event.h after r335776.
Reported by: bde@
MFC after: 1 day
Sponsored by: Dell EMC
Modified:
head/sys/sys/event.h
Modified: head/sys/sys/event.h
==============================================================================
--- head/sys/sys/event.h Wed Jul 11 01:37:01 2018 (r336185)
+++ head/sys/sys/event.h Wed Jul 11 02:09:11 2018 (r336186)
@@ -50,16 +50,16 @@
#define EVFILT_SYSCOUNT 13
#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
-#define EV_SET(kevp_, a, b, c, d, e, f) do { \
- *(kevp_) = (struct kevent){ \
- .ident = (a), \
- .filter = (b), \
- .flags = (c), \
- .fflags = (d), \
- .data = (e), \
- .udata = (f), \
- .ext = {0}, \
- }; \
+#define EV_SET(kevp_, a, b, c, d, e, f) do { \
+ *(kevp_) = (struct kevent){ \
+ .ident = (a), \
+ .filter = (b), \
+ .flags = (c), \
+ .fflags = (d), \
+ .data = (e), \
+ .udata = (f), \
+ .ext = {0}, \
+ }; \
} while(0)
#else /* Pre-C99 or not STDC (e.g., C++) */
/* The definition of the local variable kevp could possibly conflict
More information about the svn-src-head
mailing list