aboutsummaryrefslogtreecommitdiff
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
parent2db096086e8ff6c2a42881966e441157c686603b (diff)
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>
-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 83d3398559e..7db1de0497c 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[] = {