diff options
author | YueHaibing <yuehaibing@huawei.com> | 2019-03-19 22:40:21 +0800 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2019-04-08 22:57:02 +0200 |
commit | b3dfee340a9b35ccde43f886b1dd59d634945b50 (patch) | |
tree | 5aee8a1e8eccc93f78984af1808062e0a438f957 /net/netfilter/nft_redir.c | |
parent | f7e840ee4dca312c78bd66de6f34fed84c305ede (diff) | |
download | linux-b3dfee340a9b35ccde43f886b1dd59d634945b50.tar.gz linux-b3dfee340a9b35ccde43f886b1dd59d634945b50.tar.bz2 linux-b3dfee340a9b35ccde43f886b1dd59d634945b50.zip |
netfilter: nft_redir: Make nft_redir_dump static
Fix sparse warning:
net/netfilter/nft_redir.c:85:5:
warning: symbol 'nft_redir_dump' was not declared. Should it be static?
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/netfilter/nft_redir.c')
-rw-r--r-- | net/netfilter/nft_redir.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/netfilter/nft_redir.c b/net/netfilter/nft_redir.c index a340cd8a751b..02f4b4a6f887 100644 --- a/net/netfilter/nft_redir.c +++ b/net/netfilter/nft_redir.c @@ -82,7 +82,7 @@ static int nft_redir_init(const struct nft_ctx *ctx, return nf_ct_netns_get(ctx->net, ctx->family); } -int nft_redir_dump(struct sk_buff *skb, const struct nft_expr *expr) +static int nft_redir_dump(struct sk_buff *skb, const struct nft_expr *expr) { const struct nft_redir *priv = nft_expr_priv(expr); |