summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
author/C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org </C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org>2008-01-15 13:37:47 +0000
committer/C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org </C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org>2008-01-15 13:37:47 +0000
commitf2e700dd7c1eb7325d8ce51f7e35b652cceac151 (patch)
tree4f02b1c62a15a8e3c810f37bc8a05f64ab0e08d2 /include
parentf908987c2ad037b85ec611901b257ec675786cba (diff)
Max Kellermann <max@duempel.org>:
use the comma operator instead of curly braces
Diffstat (limited to 'include')
-rw-r--r--include/network.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/network.h b/include/network.h
index f8fdd0d..e92f6c3 100644
--- a/include/network.h
+++ b/include/network.h
@@ -152,10 +152,10 @@ struct netattr {
(void *)(((char *)x) + sizeof(struct netattr))
#define NTA_NEXT(x, len) \
-({ \
- len -= NTA_ALIGN(NTA_LENGTH(x->nta_len)); \
- (struct netattr *)(((char *)x) + NTA_ALIGN(NTA_LENGTH(x->nta_len))); \
-})
+( \
+ len -= NTA_ALIGN(NTA_LENGTH(x->nta_len)), \
+ (struct netattr *)(((char *)x) + NTA_ALIGN(NTA_LENGTH(x->nta_len))) \
+)
#define NTA_ALIGNTO 4
#define NTA_ALIGN(len) (((len) + NTA_ALIGNTO - 1) & ~(NTA_ALIGNTO - 1))