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/ipv4/netfilter/ipt_MASQUERADE.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/ipv4/netfilter/ipt_MASQUERADE.c')
-rw-r--r-- | net/ipv4/netfilter/ipt_MASQUERADE.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/net/ipv4/netfilter/ipt_MASQUERADE.c b/net/ipv4/netfilter/ipt_MASQUERADE.c index e0c321c3bae..8b3e7f99b86 100644 --- a/net/ipv4/netfilter/ipt_MASQUERADE.c +++ b/net/ipv4/netfilter/ipt_MASQUERADE.c | |||
@@ -175,7 +175,7 @@ static struct ipt_target masquerade = { | |||
175 | .me = THIS_MODULE, | 175 | .me = THIS_MODULE, |
176 | }; | 176 | }; |
177 | 177 | ||
178 | static int __init init(void) | 178 | static int __init ipt_masquerade_init(void) |
179 | { | 179 | { |
180 | int ret; | 180 | int ret; |
181 | 181 | ||
@@ -191,12 +191,12 @@ static int __init init(void) | |||
191 | return ret; | 191 | return ret; |
192 | } | 192 | } |
193 | 193 | ||
194 | static void __exit fini(void) | 194 | static void __exit ipt_masquerade_fini(void) |
195 | { | 195 | { |
196 | ipt_unregister_target(&masquerade); | 196 | ipt_unregister_target(&masquerade); |
197 | unregister_netdevice_notifier(&masq_dev_notifier); | 197 | unregister_netdevice_notifier(&masq_dev_notifier); |
198 | unregister_inetaddr_notifier(&masq_inet_notifier); | 198 | unregister_inetaddr_notifier(&masq_inet_notifier); |
199 | } | 199 | } |
200 | 200 | ||
201 | module_init(init); | 201 | module_init(ipt_masquerade_init); |
202 | module_exit(fini); | 202 | module_exit(ipt_masquerade_fini); |