diff options
author | Andrew Morton <akpm@osdl.org> | 2006-03-28 19:37:06 -0500 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-03-28 20:02:48 -0500 |
commit | 65b4b4e81a5094d52cbe372b887b1779abe53f9b (patch) | |
tree | ef8369e6a8e5278f8f4101132ba85869e5a4ce1d /net/ipv6/netfilter/ip6table_raw.c | |
parent | c3e5d877aadc073b09c4901f8c1a768de79b0a5d (diff) |
[NETFILTER]: Rename init functions.
Every netfilter module uses `init' for its module_init() function and
`fini' or `cleanup' for its module_exit() function.
Problem is, this creates uninformative initcall_debug output and makes
ctags rather useless.
So go through and rename them all to $(filename)_init and
$(filename)_fini.
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/netfilter/ip6table_raw.c')
-rw-r--r-- | net/ipv6/netfilter/ip6table_raw.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/net/ipv6/netfilter/ip6table_raw.c b/net/ipv6/netfilter/ip6table_raw.c index db28ba3855e..54d1fffd62b 100644 --- a/net/ipv6/netfilter/ip6table_raw.c +++ b/net/ipv6/netfilter/ip6table_raw.c | |||
@@ -142,7 +142,7 @@ static struct nf_hook_ops ip6t_ops[] = { | |||
142 | }, | 142 | }, |
143 | }; | 143 | }; |
144 | 144 | ||
145 | static int __init init(void) | 145 | static int __init ip6table_raw_init(void) |
146 | { | 146 | { |
147 | int ret; | 147 | int ret; |
148 | 148 | ||
@@ -170,7 +170,7 @@ static int __init init(void) | |||
170 | return ret; | 170 | return ret; |
171 | } | 171 | } |
172 | 172 | ||
173 | static void __exit fini(void) | 173 | static void __exit ip6table_raw_fini(void) |
174 | { | 174 | { |
175 | unsigned int i; | 175 | unsigned int i; |
176 | 176 | ||
@@ -180,6 +180,6 @@ static void __exit fini(void) | |||
180 | ip6t_unregister_table(&packet_raw); | 180 | ip6t_unregister_table(&packet_raw); |
181 | } | 181 | } |
182 | 182 | ||
183 | module_init(init); | 183 | module_init(ip6table_raw_init); |
184 | module_exit(fini); | 184 | module_exit(ip6table_raw_fini); |
185 | MODULE_LICENSE("GPL"); | 185 | MODULE_LICENSE("GPL"); |