Skip to content

Commit

Permalink
drivers/net: fix sparse warning: use ANSI-style function declaration
Browse files Browse the repository at this point in the history
Fix this sparse warning:

  drivers/net/ne.c:932:24: warning: non-ANSI function declaration of function 'init_module'

Signed-off-by: Hannes Eder <hannes@hanneseder.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Hannes Eder authored and David S. Miller committed Dec 26, 2008
1 parent d76e56b commit 2705d4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/ne.c
Original file line number Diff line number Diff line change
Expand Up @@ -929,7 +929,7 @@ static void __init ne_add_devices(void)
}

#ifdef MODULE
int __init init_module()
int __init init_module(void)
{
int retval;
ne_add_devices();
Expand Down

0 comments on commit 2705d4f

Please sign in to comment.