summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>2008-01-22 09:25:46 +0100
committerDavid S. Miller <davem@davemloft.net>2008-01-29 00:10:26 +0100
commit5e8b9df6e8786e4d5ee5ac951240cb2eaaac3014 (patch)
treeb0c201341ddcf4194260f09ae3a79ba45af8346e
parent[IPV6] UDP,UDPLITE: Sparse: {__udp6_lib,udp,udplite}_err() are of void. (diff)
downloadlinux-5e8b9df6e8786e4d5ee5ac951240cb2eaaac3014.tar.xz
linux-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>
-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 *,