summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoopa Prabhu <roopa@cumulusnetworks.com>2015-12-09 15:56:41 +0100
committerDavid S. Miller <davem@davemloft.net>2015-12-12 02:17:43 +0100
commit6e71b29908e9e9bffc03b8e991c9e58a0fa92d9c (patch)
treed4ab20fce933329eab02d3d15394d90adc5573c0
parentcxgb4: Handle clip return values (diff)
downloadlinux-6e71b29908e9e9bffc03b8e991c9e58a0fa92d9c.tar.xz
linux-6e71b29908e9e9bffc03b8e991c9e58a0fa92d9c.zip
mpls_iptunnel: add static qualifier to mpls_output
This gets rid of the following compile warn: net/mpls/mpls_iptunnel.c:40:5: warning: no previous prototype for mpls_output [-Wmissing-prototypes] Signed-off-by: Roopa Prabhu <roopa@cumulusnetworks.com> Acked-by: Robert Shearman <rshearma@brocade.com> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--net/mpls/mpls_iptunnel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mpls/mpls_iptunnel.c b/net/mpls/mpls_iptunnel.c
index 67591aef9cae..cdd01e6416db 100644
--- a/net/mpls/mpls_iptunnel.c
+++ b/net/mpls/mpls_iptunnel.c
@@ -37,7 +37,7 @@ static unsigned int mpls_encap_size(struct mpls_iptunnel_encap *en)
return en->labels * sizeof(struct mpls_shim_hdr);
}
-int mpls_output(struct net *net, struct sock *sk, struct sk_buff *skb)
+static int mpls_output(struct net *net, struct sock *sk, struct sk_buff *skb)
{
struct mpls_iptunnel_encap *tun_encap_info;
struct mpls_shim_hdr *hdr;