Browse Source

[IPV6]: Fix powerpc allmodconfig build warnings.

Introduced by changeset 95e41e93e18d8e1e272ce23d96bae4f17ce11d42
("[IPV6]: Make ndisc_flow_init() common for later use.")

Reported by Stephen Rothwell.

In file included from net/ipv6/netfilter/ip6_tables.c:21:
include/linux/icmpv6.h:192: warning: 'struct in6_addr' declared inside parameter list
include/linux/icmpv6.h:192: warning: its scope is only this definition or declaration, which is probably not what you want

Signed-off-by: David S. Miller <davem@davemloft.net>
David S. Miller 17 years ago
parent
commit
f59d43899e
1 changed files with 1 additions and 0 deletions
  1. 1 0
      include/linux/icmpv6.h

+ 1 - 0
include/linux/icmpv6.h

@@ -184,6 +184,7 @@ extern void				icmpv6_param_prob(struct sk_buff *skb,
 							  int code, int pos);
 
 struct flowi;
+struct in6_addr;
 extern void				icmpv6_flow_init(struct sock *sk,
 							 struct flowi *fl,
 							 u8 type,