From: Hannes Eder Date: Fri, 26 Dec 2008 07:52:57 +0000 (-0800) Subject: drivers/net: fix sparse warning: use ANSI-style function declaration X-Git-Tag: v2.6.29-rc1~581^2~55 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=2705d4f87c068552f45e5d6feaa5c468a312f761;p=linux-2.6-omap-h63xx.git 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 Signed-off-by: David S. Miller --- diff --git a/drivers/net/ne.c b/drivers/net/ne.c index cb02698d128..5c3e242428f 100644 --- a/drivers/net/ne.c +++ b/drivers/net/ne.c @@ -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();