Commit 63d819ca authored by Hannes Eder's avatar Hannes Eder Committed by David S. Miller

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: default avatarHannes Eder <hannes@hanneseder.net>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 2db09608
...@@ -11,6 +11,7 @@ ...@@ -11,6 +11,7 @@
#include <linux/socket.h> #include <linux/socket.h>
#include <linux/netdevice.h> #include <linux/netdevice.h>
#include <linux/init.h> #include <linux/init.h>
#include <net/ip.h>
#include <net/sock.h> #include <net/sock.h>
static struct ctl_table net_core_table[] = { static struct ctl_table net_core_table[] = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment