]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
ipx: move extern sysctl_ipx_pprop_broadcasting to header file
authorFabian Frederick <fabf@skynet.be>
Mon, 27 Oct 2014 19:00:41 +0000 (20:00 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 27 Oct 2014 20:03:53 +0000 (16:03 -0400)
include ipx.h from sysctl_net_ipx.c

Signed-off-by: Fabian Frederick <fabf@skynet.be>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/ipx.h
net/ipx/sysctl_net_ipx.c

index 0143180fecc983a01fd5c1c3027f984d0f0be177..320f47b64a7a234794a3e7f6ac3f5795eadcfd77 100644 (file)
@@ -42,6 +42,9 @@ struct ipxhdr {
        struct ipx_address      ipx_source __packed;
 };
 
+/* From af_ipx.c */
+extern int sysctl_ipx_pprop_broadcasting;
+
 static __inline__ struct ipxhdr *ipx_hdr(struct sk_buff *skb)
 {
        return (struct ipxhdr *)skb_transport_header(skb);
index ad7c03dedaab831c259f2041767227d955e584f3..0dafcc561ed612c550e352ace51187b937fb4bd7 100644 (file)
@@ -9,14 +9,12 @@
 #include <linux/mm.h>
 #include <linux/sysctl.h>
 #include <net/net_namespace.h>
+#include <net/ipx.h>
 
 #ifndef CONFIG_SYSCTL
 #error This file should not be compiled without CONFIG_SYSCTL defined
 #endif
 
-/* From af_ipx.c */
-extern int sysctl_ipx_pprop_broadcasting;
-
 static struct ctl_table ipx_table[] = {
        {
                .procname       = "ipx_pprop_broadcasting",