aboutsummaryrefslogtreecommitdiffstats
path: root/net/core/sysctl_net_core.c
diff options
context:
space:
mode:
authorHannes Eder <hannes@hanneseder.net>2009-02-25 10:32:14 +0000
committerDavid S. Miller <davem@davemloft.net>2009-02-26 23:13:34 -0800
commit63d819caebcc3ca260ca0214d29044293969aa2f (patch)
treec7423bb373b1c9da868ff18130510a5912ffda82 /net/core/sysctl_net_core.c
parentappletalk: fix warning: format not a string literal and no ... (diff)
downloadlinux-dev-63d819caebcc3ca260ca0214d29044293969aa2f.tar.xz
linux-dev-63d819caebcc3ca260ca0214d29044293969aa2f.zip
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/sysctl_net_core.c')
-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[] = {