Skip to content

Commit

Permalink
[NETFILTER]: Fix non-ANSI func. decl.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Randy Dunlap authored and David S. Miller committed Dec 7, 2006
1 parent cbb45d2 commit 272491e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/netfilter/nf_conntrack_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 272491e

Please sign in to comment.