From: Roy Marples Date: Tue, 27 Sep 2016 09:00:26 +0000 (+0000) Subject: Move the #ifdef higher to exclude static consts. X-Git-Tag: v6.11.4~12 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=44d5340730cedaa4d1901c2e4ea9669cdedea945;p=thirdparty%2Fdhcpcd.git Move the #ifdef higher to exclude static consts. --- diff --git a/ipv4ll.c b/ipv4ll.c index f73637b0..398a692a 100644 --- a/ipv4ll.c +++ b/ipv4ll.c @@ -45,6 +45,7 @@ #include "ipv4ll.h" #include "script.h" +#ifdef IPV4LL static const struct in_addr inaddr_llmask = { .s_addr = HTONL(LINKLOCAL_MASK) }; @@ -52,7 +53,6 @@ static const struct in_addr inaddr_llbcast = { .s_addr = HTONL(LINKLOCAL_BCAST) }; -#ifdef IPV4LL static in_addr_t ipv4ll_pickaddr(struct arp_state *astate) {