[PATCH] owner-socketlookup update for 2.6.10
xkr47 at outerspace.dyndns.org
Mon Nov 7 11:03:37 CET 2005
Norman Rasmussen wrote:
> I tried changing (in udp.h):
> extern struct sock *udp_v4_lookup
> extern static struct sock *udp_v4_lookup
> but now gcc tells me:
> include/net/udp.h:77: error: multiple storage classes in declaration
> any tips on getting an __inline__ function to be recognised
> externally, or are they mutually exclusive?
In udp.c you should change
static __inline__ struct ...
extern __inline__ struct ...
And in udp.h you should have
extern struct ...
I hope it works out. Sorry for the late reply :(
More information about the netfilter-devel