Skip to content

Commit 6e71b29

Browse files
roopa-prabhudavem330
authored andcommitted
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>
1 parent eb72f74 commit 6e71b29

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

net/mpls/mpls_iptunnel.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ static unsigned int mpls_encap_size(struct mpls_iptunnel_encap *en)
3737
return en->labels * sizeof(struct mpls_shim_hdr);
3838
}
3939

40-
int mpls_output(struct net *net, struct sock *sk, struct sk_buff *skb)
40+
static int mpls_output(struct net *net, struct sock *sk, struct sk_buff *skb)
4141
{
4242
struct mpls_iptunnel_encap *tun_encap_info;
4343
struct mpls_shim_hdr *hdr;

0 commit comments

Comments
 (0)