提交 0ded1785 编写于 作者: W Wei Yongjun 提交者: Pablo Neira Ayuso

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: NWei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: NPablo Neira Ayuso <pablo@netfilter.org>
上级 03a0120f
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册