Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5e96d788 authored by Fabian Frederick's avatar Fabian Frederick Committed by David S. Miller
Browse files

ipx: move extern sysctl_ipx_pprop_broadcasting to header file



include ipx.h from sysctl_net_ipx.c

Signed-off-by: default avatarFabian Frederick <fabf@skynet.be>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent ce256981
Loading
Loading
Loading
Loading
+3 −0
Original line number Original line Diff line number Diff line
@@ -42,6 +42,9 @@ struct ipxhdr {
	struct ipx_address	ipx_source __packed;
	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)
static __inline__ struct ipxhdr *ipx_hdr(struct sk_buff *skb)
{
{
	return (struct ipxhdr *)skb_transport_header(skb);
	return (struct ipxhdr *)skb_transport_header(skb);
+1 −3
Original line number Original line Diff line number Diff line
@@ -9,14 +9,12 @@
#include <linux/mm.h>
#include <linux/mm.h>
#include <linux/sysctl.h>
#include <linux/sysctl.h>
#include <net/net_namespace.h>
#include <net/net_namespace.h>
#include <net/ipx.h>


#ifndef CONFIG_SYSCTL
#ifndef CONFIG_SYSCTL
#error This file should not be compiled without CONFIG_SYSCTL defined
#error This file should not be compiled without CONFIG_SYSCTL defined
#endif
#endif


/* From af_ipx.c */
extern int sysctl_ipx_pprop_broadcasting;

static struct ctl_table ipx_table[] = {
static struct ctl_table ipx_table[] = {
	{
	{
		.procname	= "ipx_pprop_broadcasting",
		.procname	= "ipx_pprop_broadcasting",