summaryrefslogtreecommitdiff
path: root/net/core
diff options
context:
space:
mode:
authorHannes Eder <hannes@hanneseder.net>2009-02-25 13:32:14 +0300
committerDavid S. Miller <davem@davemloft.net>2009-02-27 10:13:34 +0300
commit63d819caebcc3ca260ca0214d29044293969aa2f (patch)
treec7423bb373b1c9da868ff18130510a5912ffda82 /net/core
parent2db096086e8ff6c2a42881966e441157c686603b (diff)
downloadlinux-63d819caebcc3ca260ca0214d29044293969aa2f.tar.xz
sysctl: fix sparse warning: Should it be static?
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>
Diffstat (limited to 'net/core')
-rw-r--r--net/core/sysctl_net_core.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/core/sysctl_net_core.c b/net/core/sysctl_net_core.c
index 83d3398559ea..7db1de0497c6 100644
--- 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[] = {