summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorAl Viro <viro@ftp.linux.org.uk>2007-07-20 17:15:28 +0200
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-07-20 17:24:49 +0200
commit8d4bc5b6b0ce030f51a2db836caeaf687b986791 (patch)
treea4d4149341f3f2c96ca626eee45d9fa103e527b5 /net
parentFix lguest misannotation (diff)
downloadlinux-8d4bc5b6b0ce030f51a2db836caeaf687b986791.tar.xz
linux-8d4bc5b6b0ce030f51a2db836caeaf687b986791.zip
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.c4
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 = {
.id = NF_CT_EXT_HELPER,
};
-int nf_conntrack_helper_init()
+int nf_conntrack_helper_init(void)
{
int err;
@@ -216,7 +216,7 @@ err1:
return err;
}
-void nf_conntrack_helper_fini()
+void nf_conntrack_helper_fini(void)
{
nf_ct_extend_unregister(&helper_extend);
nf_ct_free_hashtable(nf_ct_helper_hash, nf_ct_helper_vmalloc,