mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
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 <[email protected]> Acked-by: Robert Shearman <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
eb72f74f03
commit
6e71b29908
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue