[rtems commit] Address some (although not all) style(9) issues in event.h after r335776.

Sebastian Huber sebh at rtems.org
Wed Aug 8 06:49:57 UTC 2018


Module:    rtems
Branch:    master
Commit:    96b32773e4539077e883f1da16b3e6838146ce22
Changeset: http://git.rtems.org/rtems/commit/?id=96b32773e4539077e883f1da16b3e6838146ce22

Author:    dab <dab at FreeBSD.org>
Date:      Wed Jul 11 02:09:11 2018 +0000

Address some (although not all) style(9) issues in event.h after r335776.

Reported by:	bde@
MFC after:	1 day
Sponsored by:	Dell EMC

---

 cpukit/include/sys/event.h | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/cpukit/include/sys/event.h b/cpukit/include/sys/event.h
index 08286dc..bca5ccc 100644
--- a/cpukit/include/sys/event.h
+++ b/cpukit/include/sys/event.h
@@ -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 vc mailing list