From f2e700dd7c1eb7325d8ce51f7e35b652cceac151 Mon Sep 17 00:00:00 2001 From: "/C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org" Date: Tue, 15 Jan 2008 13:37:47 +0000 Subject: Max Kellermann : use the comma operator instead of curly braces --- include/network.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'include') 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)) -- cgit v1.2.3