drivers/net: fix sparse warning: use ANSI-style function declaration

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>
This commit is contained in:
Hannes Eder 2008-12-25 23:52:57 -08:00 committed by David S. Miller
parent d76e56b4c6
commit 2705d4f87c

View File

@ -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();