summaryrefslogtreecommitdiffstats
path: root/net/ipv6
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2013-06-25 01:30:11 -0700
committerDavid S. Miller <davem@davemloft.net>2013-06-25 02:44:05 -0700
commit6da334ee0c101fc5ecf62f2b1e11b1524be7b159 (patch)
tree7eaf9ed0d333d26496d476734837f5701ce84993 /net/ipv6
parent7ae8639c9d6d5aba7990b4fad3506ff7b4667a45 (diff)
downloadblackbird-op-linux-6da334ee0c101fc5ecf62f2b1e11b1524be7b159.tar.gz
blackbird-op-linux-6da334ee0c101fc5ecf62f2b1e11b1524be7b159.zip
ipv6: add include file to suppress sparse warnings
commit f88c91ddba95 ("ipv6: statically link register_inet6addr_notifier()" added following sparse warnings : net/ipv6/addrconf_core.c:83:5: warning: symbol 'register_inet6addr_notifier' was not declared. Should it be static? net/ipv6/addrconf_core.c:89:5: warning: symbol 'unregister_inet6addr_notifier' was not declared. Should it be static? net/ipv6/addrconf_core.c:95:5: warning: symbol 'inet6addr_notifier_call_chain' was not declared. Should it be static? Signed-off-by: Eric Dumazet <edumazet@google.com> Cc: Cong Wang <amwang@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6')
-rw-r--r--net/ipv6/addrconf_core.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/ipv6/addrconf_core.c b/net/ipv6/addrconf_core.c
index 72104562c864..d2f87427244b 100644
--- a/net/ipv6/addrconf_core.c
+++ b/net/ipv6/addrconf_core.c
@@ -5,6 +5,7 @@
#include <linux/export.h>
#include <net/ipv6.h>
+#include <net/addrconf.h>
#define IPV6_ADDR_SCOPE_TYPE(scope) ((scope) << 16)
OpenPOWER on IntegriCloud