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) ...@@ -623,7 +623,7 @@ void netpoll_cleanup(struct netpoll *np)
np->dev = 0; np->dev = 0;
} }
int netpoll_trap() int netpoll_trap(void)
{ {
return trapped; return trapped;
} }
......
...@@ -920,7 +920,7 @@ static void expectation_timed_out(unsigned long ul_expect) ...@@ -920,7 +920,7 @@ static void expectation_timed_out(unsigned long ul_expect)
} }
struct ip_conntrack_expect * struct ip_conntrack_expect *
ip_conntrack_expect_alloc() ip_conntrack_expect_alloc(void)
{ {
struct ip_conntrack_expect *new; struct ip_conntrack_expect *new;
......
...@@ -692,14 +692,14 @@ static struct file_operations ip6fl_seq_fops = { ...@@ -692,14 +692,14 @@ static struct file_operations ip6fl_seq_fops = {
#endif #endif
void ip6_flowlabel_init() void ip6_flowlabel_init(void)
{ {
#ifdef CONFIG_PROC_FS #ifdef CONFIG_PROC_FS
proc_net_fops_create("ip6_flowlabel", S_IRUGO, &ip6fl_seq_fops); proc_net_fops_create("ip6_flowlabel", S_IRUGO, &ip6fl_seq_fops);
#endif #endif
} }
void ip6_flowlabel_cleanup() void ip6_flowlabel_cleanup(void)
{ {
del_timer(&ip6_fl_gc_timer); del_timer(&ip6_fl_gc_timer);
#ifdef CONFIG_PROC_FS #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