make nf_ct_ipv6_skip_exthdr() static
Subsystems (3)
PATCH 1/1 make nf_ct_ipv6_skip_exthdr() static
nf_ct_ipv6_skip_exthdr() can now become static.
Signed-off-by Adrian Bunk <[email protected]>
---
include/net/netfilter/ipv6/nf_conntrack_ipv6.h | 3 --- net/ipv6/netfilter/nf_conntrack_l3proto_ipv6.c | 4 ++-- 2 files changed, 2 insertions(+), 5 deletions(-)
include/net/netfilter/ipv6/nf_conntrack_ipv6.h renamed from include/net/netfilter/ipv6/nf_conntrack_ipv6.h.old +0 -3
@@ -7,9 +7,6 @@extern struct nf_conntrack_l4proto nf_conntrack_l4proto_udp6;extern struct nf_conntrack_l4proto nf_conntrack_l4proto_icmpv6; -extern int nf_ct_ipv6_skip_exthdr (const struct sk_buff *skb,int start, -u8 *nexthdrp,int len); -extern int nf_ct_frag6_init (void );extern void nf_ct_frag6_cleanup (void );extern struct sk_buff *nf_ct_frag6_gather (struct sk_buff *skb);
net/ipv6/netfilter/nf_conntrack_l3proto_ipv6.c renamed from net/ipv6/netfilter/nf_conntrack_l3proto_ipv6.c.old +2 -2
@@ -86,8 +86,8 @@* - Note also special handling of AUTH header. Thanks to IPsec wizards. */ -int nf_ct_ipv6_skip_exthdr (const struct sk_buff *skb,int start,u8 *nexthdrp, -int len) +static int nf_ct_ipv6_skip_exthdr (const struct sk_buff *skb,int start, +u8 *nexthdrp,int len) {u8 nexthdr = *nexthdrp;
Patrick McHardy
AppliedQuoted 1 line · Adrian Bunk
nf_ct_ipv6_skip_exthdr()can now become static.
Applied, thanks.
From: Adrian Bunk <[email protected]>
Date: Sun, 29 Jul 2007 16:58:46 +0200
Quoted 3 lines
nf_ct_ipv6_skip_exthdr()can now become static.Signed-off-by Adrian Bunk <[email protected]>
Applied.