[NETFILTER]: more sparse fixes

Some lock annotations, and make initializers static.

Signed-off-by: Stephen Hemminger <[email protected]>
Signed-off-by: Patrick McHardy <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
Stephen Hemminger 2008-01-31 04:08:39 -08:00 • committed by David S. Miller
commit f4f6fb714f
2 changed files with 4 additions and 2 deletions

View file

@ -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);
}