summaryrefslogtreecommitdiffstats
path: root/net/core/net-sysfs.c
diff options
context:
space:
mode:
authorPavel Emelyanov <xemul@openvz.org>2007-10-24 06:14:45 +0200
committerDavid S. Miller <davem@sunset.davemloft.net>2007-10-24 06:27:56 +0200
commit342709efc7a4ba91eac6d2d2d931ec316a587dfa (patch)
tree0c1422caab17a50f5db7b1ea07c9d89258c913aa /net/core/net-sysfs.c
parent[NET]: Don't declare extern variables in net/core/sysctl_net_core.c (diff)
downloadlinux-342709efc7a4ba91eac6d2d2d931ec316a587dfa.tar.xz
linux-342709efc7a4ba91eac6d2d2d931ec316a587dfa.zip
[NET]: Remove in-code externs for some functions from net/core/dev.c
Inconsistent prototype and real type for functions may have worse consequences, than those for variables, so move them into a header. Since they are used privately in net/core, make this file reside in the same place. Signed-off-by: Pavel Emelyanov <xemul@openvz.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/net-sysfs.c')
-rw-r--r--net/core/net-sysfs.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/core/net-sysfs.c b/net/core/net-sysfs.c
index 6628e457ddc0..61ead1d11132 100644
--- a/net/core/net-sysfs.c
+++ b/net/core/net-sysfs.c
@@ -18,6 +18,8 @@
#include <linux/wireless.h>
#include <net/iw_handler.h>
+#include "net-sysfs.h"
+
#ifdef CONFIG_SYSFS
static const char fmt_hex[] = "%#x\n";
static const char fmt_long_hex[] = "%#lx\n";