netfilter: properly annotate ipv4_netfilter_{init,fini}()
authorJan Beulich <JBeulich@suse.com>
Mon, 18 Jun 2012 00:18:31 +0000 (00:18 +0000)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 3 Sep 2012 11:56:04 +0000 (13:56 +0200)
Despite being just a few bytes of code, they should still have proper
annotations.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/ipv4/netfilter.c

index f1643c0c358767f0466746876458fc6272c31d30..4c0cf63dd92e9ab94bf155c8e0d497c2029cebde 100644 (file)
@@ -188,12 +188,12 @@ static const struct nf_afinfo nf_ip_afinfo = {
        .route_key_size         = sizeof(struct ip_rt_info),
 };
 
-static int ipv4_netfilter_init(void)
+static int __init ipv4_netfilter_init(void)
 {
        return nf_register_afinfo(&nf_ip_afinfo);
 }
 
-static void ipv4_netfilter_fini(void)
+static void __exit ipv4_netfilter_fini(void)
 {
        nf_unregister_afinfo(&nf_ip_afinfo);
 }