Skip to content

Commit

Permalink
sysctl: fix sparse warning: Should it be static?
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
hanneseder-net authored and davem330 committed Feb 27, 2009
1 parent 2db0960 commit 63d819c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions net/core/sysctl_net_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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[] = {
Expand Down

0 comments on commit 63d819c

Please sign in to comment.