diff options
author | Stephen Hemminger <shemminger@vyatta.com> | 2008-01-31 04:08:39 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-31 19:27:46 -0800 |
commit | f4f6fb714f139f45f90c6a5048ee67f9960543f1 (patch) | |
tree | dd9a67535c4bf77668287f8650781ee10452ac25 /net/ipv4 | |
parent | 2f0d2f10391e190f940da70cbdc8a61e4dad98eb (diff) | |
download | linux-f4f6fb714f139f45f90c6a5048ee67f9960543f1.tar.bz2 |
[NETFILTER]: more sparse fixes
Some lock annotations, and make initializers static.
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4')
-rw-r--r-- | net/ipv4/netfilter/nf_nat_proto_gre.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv4/netfilter/nf_nat_proto_gre.c b/net/ipv4/netfilter/nf_nat_proto_gre.c index 9fa272e73113..c9dbd550df39 100644 --- a/net/ipv4/netfilter/nf_nat_proto_gre.c +++ b/net/ipv4/netfilter/nf_nat_proto_gre.c @@ -148,12 +148,12 @@ static const struct nf_nat_protocol gre = { #endif }; -int __init nf_nat_proto_gre_init(void) +static int __init nf_nat_proto_gre_init(void) { return nf_nat_protocol_register(&gre); } -void __exit nf_nat_proto_gre_fini(void) +static void __exit nf_nat_proto_gre_fini(void) { nf_nat_protocol_unregister(&gre); } |