diff options
author | Al Viro <viro@ftp.linux.org.uk> | 2007-07-20 11:15:28 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-20 11:24:49 -0400 |
commit | 8d4bc5b6b0ce030f51a2db836caeaf687b986791 (patch) | |
tree | a4d4149341f3f2c96ca626eee45d9fa103e527b5 /net | |
parent | 6d14bfe77b8246a45670b7158d3a49bfe55662c7 (diff) |
ANSIfy a couple of functions in netfilter
It's C, not C++...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'net')
-rw-r--r-- | net/netfilter/nf_conntrack_helper.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/netfilter/nf_conntrack_helper.c b/net/netfilter/nf_conntrack_helper.c index b1179dd3d8c3..ca10df40784f 100644 --- a/net/netfilter/nf_conntrack_helper.c +++ b/net/netfilter/nf_conntrack_helper.c | |||
@@ -194,7 +194,7 @@ static struct nf_ct_ext_type helper_extend __read_mostly = { | |||
194 | .id = NF_CT_EXT_HELPER, | 194 | .id = NF_CT_EXT_HELPER, |
195 | }; | 195 | }; |
196 | 196 | ||
197 | int nf_conntrack_helper_init() | 197 | int nf_conntrack_helper_init(void) |
198 | { | 198 | { |
199 | int err; | 199 | int err; |
200 | 200 | ||
@@ -216,7 +216,7 @@ err1: | |||
216 | return err; | 216 | return err; |
217 | } | 217 | } |
218 | 218 | ||
219 | void nf_conntrack_helper_fini() | 219 | void nf_conntrack_helper_fini(void) |
220 | { | 220 | { |
221 | nf_ct_extend_unregister(&helper_extend); | 221 | nf_ct_extend_unregister(&helper_extend); |
222 | nf_ct_free_hashtable(nf_ct_helper_hash, nf_ct_helper_vmalloc, | 222 | nf_ct_free_hashtable(nf_ct_helper_hash, nf_ct_helper_vmalloc, |