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 _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"