aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6
diff options
context:
space:
mode:
authorYOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>2008-01-22 17:25:46 +0900
committerDavid S. Miller <davem@davemloft.net>2008-01-28 15:10:26 -0800
commit5e8b9df6e8786e4d5ee5ac951240cb2eaaac3014 (patch)
treeb0c201341ddcf4194260f09ae3a79ba45af8346e /net/ipv6
parent[IPV6] UDP,UDPLITE: Sparse: {__udp6_lib,udp,udplite}_err() are of void. (diff)
downloadlinux-dev-5e8b9df6e8786e4d5ee5ac951240cb2eaaac3014.tar.xz
linux-dev-5e8b9df6e8786e4d5ee5ac951240cb2eaaac3014.zip
[IPV6] UDPLITE: Sparse: Declare non-static symbols in header.
Fix the following sparse warnings: | net/ipv6/udplite.c:45:14: warning: symbol 'udplitev6_prot' was not declared. Should it be static? | net/ipv6/udplite.c:80:12: warning: symbol 'udplitev6_init' was not declared. Should it be static? | net/ipv6/udplite.c:99:6: warning: symbol 'udplitev6_exit' was not declared. Should it be static? Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Diffstat (limited to 'net/ipv6')
-rw-r--r--net/ipv6/udp_impl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/ipv6/udp_impl.h b/net/ipv6/udp_impl.h
index 2d3fda601232..21be3a83e7bc 100644
--- a/net/ipv6/udp_impl.h
+++ b/net/ipv6/udp_impl.h
@@ -5,6 +5,7 @@
#include <net/protocol.h>
#include <net/addrconf.h>
#include <net/inet_common.h>
+#include <net/transp_v6.h>
extern int __udp6_lib_rcv(struct sk_buff *, struct hlist_head [], int );
extern void __udp6_lib_err(struct sk_buff *, struct inet6_skb_parm *,