Commit 0ded1785 authored by Wei Yongjun's avatar Wei Yongjun Committed by Pablo Neira Ayuso
Browse files

netfilter: core: make local function __nf_unregister_net_hook static



Fixes the following sparse warning:

net/netfilter/core.c:380:6: warning:
 symbol '__nf_unregister_net_hook' was not declared. Should it be static?

Signed-off-by: default avatarWei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: default avatarPablo Neira Ayuso <pablo@netfilter.org>
parent 03a0120f
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -377,7 +377,7 @@ static void nf_remove_net_hook(struct nf_hook_entries *old,
	}
}

void __nf_unregister_net_hook(struct net *net, int pf,
static void __nf_unregister_net_hook(struct net *net, int pf,
				     const struct nf_hook_ops *reg)
{
	struct nf_hook_entries __rcu **pp;