netfilter: nf_nat_proto: make tables static
authorValdis Klētnieks <valdis.kletnieks@vt.edu>
Thu, 8 Aug 2019 05:43:22 +0000 (01:43 -0400)
committerPablo Neira Ayuso <pablo@netfilter.org>
Tue, 13 Aug 2019 10:15:45 +0000 (12:15 +0200)
commit0a30ba509fdeea740bedb81ce3bee4f74a759654
treee023f9140c035dde9abd175c2a91fa833914a83d
parent5785cf15fd74ec3b1a076fd39bc67382a8455fe7
netfilter: nf_nat_proto: make tables static

Sparse warns about two tables not being declared.

  CHECK   net/netfilter/nf_nat_proto.c
net/netfilter/nf_nat_proto.c:725:26: warning: symbol 'nf_nat_ipv4_ops' was not declared. Should it be static?
net/netfilter/nf_nat_proto.c:964:26: warning: symbol 'nf_nat_ipv6_ops' was not declared. Should it be static?

And in fact they can indeed be static.

Signed-off-by: Valdis Kletnieks <valdis.kletnieks@vt.edu>
Acked-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nf_nat_proto.c