diff options
author | Hannes Eder <hannes@hanneseder.net> | 2008-12-26 02:52:57 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-12-26 02:52:57 -0500 |
commit | 2705d4f87c068552f45e5d6feaa5c468a312f761 (patch) | |
tree | 7ee0eaa99b70fdd59fe764eda27b920c7636456f /drivers/net | |
parent | d76e56b4c620c959fa8346c08d24ee4b2783a564 (diff) |
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>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/ne.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ne.c b/drivers/net/ne.c index cb02698d1286..5c3e242428f1 100644 --- a/drivers/net/ne.c +++ b/drivers/net/ne.c | |||
@@ -929,7 +929,7 @@ static void __init ne_add_devices(void) | |||
929 | } | 929 | } |
930 | 930 | ||
931 | #ifdef MODULE | 931 | #ifdef MODULE |
932 | int __init init_module() | 932 | int __init init_module(void) |
933 | { | 933 | { |
934 | int retval; | 934 | int retval; |
935 | ne_add_devices(); | 935 | ne_add_devices(); |