projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2db0960
)
sysctl: fix sparse warning: Should it be static?
author
Hannes Eder
<hannes@hanneseder.net>
Wed, 25 Feb 2009 10:32:14 +0000
(10:32 +0000)
committer
David S. Miller
<davem@davemloft.net>
Fri, 27 Feb 2009 07:13:34 +0000
(23:13 -0800)
Impact: Include header file.
Fix this sparse warning:
net/core/sysctl_net_core.c:123:32: warning: symbol 'net_core_path' was not declared. Should it be static?
Signed-off-by: Hannes Eder <hannes@hanneseder.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/sysctl_net_core.c
patch
|
blob
|
history
diff --git
a/net/core/sysctl_net_core.c
b/net/core/sysctl_net_core.c
index 83d3398559ea80d3823140856b375dd5c2419927..7db1de0497c63bbde324cc354423dc11a06ef636 100644
(file)
--- a/
net/core/sysctl_net_core.c
+++ b/
net/core/sysctl_net_core.c
@@
-11,6
+11,7
@@
#include <linux/socket.h>
#include <linux/netdevice.h>
#include <linux/init.h>
+#include <net/ip.h>
#include <net/sock.h>
static struct ctl_table net_core_table[] = {