Date: Wed, 11 Jul 2018 02:09:12 +0000 (UTC) From: David Bright <dab@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r336186 - head/sys/sys Message-ID: <201807110209.w6B29CIT062133@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201807110209.w6B29CIT062133>