[NETFILTER]: Fix non-ANSI func. decl.
authorRandy Dunlap <randy.dunlap@oracle.com>
Thu, 7 Dec 2006 09:17:24 +0000 (01:17 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 7 Dec 2006 09:17:24 +0000 (01:17 -0800)
Fix non-ANSI function declaration:
net/netfilter/nf_conntrack_core.c:1096:25: warning: non-ANSI function declaration of function 'nf_conntrack_flush'

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/netfilter/nf_conntrack_core.c

index eaa0f8a1adb61422629284ea0d156fe32597b364..9b3158ce46e10b1f7ee7ae1c7c0bcc90fac1541c 100644 (file)
@@ -1093,7 +1093,7 @@ static void free_conntrack_hash(struct list_head *hash, int vmalloced, int size)
                           get_order(sizeof(struct list_head) * size));
 }
 
-void nf_conntrack_flush()
+void nf_conntrack_flush(void)
 {
        nf_ct_iterate_cleanup(kill_all, NULL);
 }