projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d76e56b
)
drivers/net: fix sparse warning: use ANSI-style function declaration
author
Hannes Eder
<hannes@hanneseder.net>
Fri, 26 Dec 2008 07:52:57 +0000
(23:52 -0800)
committer
David S. Miller
<davem@davemloft.net>
Fri, 26 Dec 2008 07:52:57 +0000
(23:52 -0800)
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>
drivers/net/ne.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/ne.c
b/drivers/net/ne.c
index cb02698d1286d606ba52b0b2fc63cce06ca41b1a..5c3e242428f11a1b5ff2e98a782614031d00a9cf 100644
(file)
--- 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();