From: Roy Marples Date: Wed, 18 Feb 2015 13:40:40 +0000 (+0000) Subject: Tidy definitions X-Git-Tag: v6.8.0~93 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=12c51ef93ef2aa098c5195fcc9a65ec1a6f77f61;p=thirdparty%2Fdhcpcd.git Tidy definitions --- diff --git a/ipv6.h b/ipv6.h index a8461856..7a4cca19 100644 --- 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 *);