summaryrefslogtreecommitdiffstats
path: root/cpukit/include/sys
diff options
context:
space:
mode:
authordab <dab@FreeBSD.org>2018-07-11 02:09:11 +0000
committerSebastian Huber <sebastian.huber@embedded-brains.de>2018-08-08 08:15:17 +0200
commit96b32773e4539077e883f1da16b3e6838146ce22 (patch)
treeefd0b9b878d4719e8a004d819710f3eeac0d58ee /cpukit/include/sys
parentFix compilation error in r335765 under gcc 4.2.1. (diff)
downloadrtems-96b32773e4539077e883f1da16b3e6838146ce22.tar.bz2
Address some (although not all) style(9) issues in event.h after r335776.
Reported by: bde@ MFC after: 1 day Sponsored by: Dell EMC
Diffstat (limited to 'cpukit/include/sys')
-rw-r--r--cpukit/include/sys/event.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/cpukit/include/sys/event.h b/cpukit/include/sys/event.h
index 08286dc83f..bca5ccce72 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