]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Tidy definitions
authorRoy Marples <roy@marples.name>
Wed, 18 Feb 2015 13:40:40 +0000 (13:40 +0000)
committerRoy Marples <roy@marples.name>
Wed, 18 Feb 2015 13:40:40 +0000 (13:40 +0000)
ipv6.h

diff --git a/ipv6.h b/ipv6.h
index a8461856540acfe3f02167311130f4c3d99ca6b9..7a4cca19579d9719f1bc606ba43e4eafe14d89a8 100644 (file)
--- a/ipv6.h
+++ b/ipv6.h
@@ -233,11 +233,11 @@ const struct ipv6_addr *ipv6_iffindaddr(const struct interface *,
     const struct in6_addr *);
 struct ipv6_addr *ipv6_findaddr(struct dhcpcd_ctx *,
     const struct in6_addr *, short);
-#define ipv6_linklocal(ifp) (ipv6_iffindaddr((ifp), NULL))
+#define ipv6_linklocal(ifp) ipv6_iffindaddr((ifp), NULL)
 int ipv6_addlinklocalcallback(struct interface *, void (*)(void *), void *);
 void ipv6_freedrop(struct interface *, int);
-#define ipv6_free(ifp) ipv6_freedrop(ifp, 0)
-#define ipv6_drop(ifp) ipv6_freedrop(ifp, 2)
+#define ipv6_free(ifp) ipv6_freedrop((ifp), 0)
+#define ipv6_drop(ifp) ipv6_freedrop((ifp), 2)
 
 #ifdef IPV6_MANAGETEMPADDR
 void ipv6_gentempifid(struct interface *);