diff options
author | Hannes Eder <hannes@hanneseder.net> | 2009-02-25 13:32:14 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-02-27 10:13:34 +0300 |
commit | 63d819caebcc3ca260ca0214d29044293969aa2f (patch) | |
tree | c7423bb373b1c9da868ff18130510a5912ffda82 /net/core | |
parent | 2db096086e8ff6c2a42881966e441157c686603b (diff) | |
download | linux-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.c | 1 |
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[] = { |