Commit ecf88904 authored by Alexander Viro's avatar Alexander Viro Committed by Linus Torvalds

[PATCH] sparse: net/* non-ANSI argument lists

parent 92b7ae57
......@@ -623,7 +623,7 @@ void netpoll_cleanup(struct netpoll *np)
np->dev = 0;
}
int netpoll_trap()
int netpoll_trap(void)
{
return trapped;
}
......
......@@ -920,7 +920,7 @@ static void expectation_timed_out(unsigned long ul_expect)
}
struct ip_conntrack_expect *
ip_conntrack_expect_alloc()
ip_conntrack_expect_alloc(void)
{
struct ip_conntrack_expect *new;
......
......@@ -692,14 +692,14 @@ static struct file_operations ip6fl_seq_fops = {
#endif
void ip6_flowlabel_init()
void ip6_flowlabel_init(void)
{
#ifdef CONFIG_PROC_FS
proc_net_fops_create("ip6_flowlabel", S_IRUGO, &ip6fl_seq_fops);
#endif
}
void ip6_flowlabel_cleanup()
void ip6_flowlabel_cleanup(void)
{
del_timer(&ip6_fl_gc_timer);
#ifdef CONFIG_PROC_FS
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment