[IPV6]: Fix powerpc allmodconfig build warnings.
authorDavid S. Miller <davem@davemloft.net>
Thu, 6 Mar 2008 04:58:10 +0000 (20:58 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 6 Mar 2008 04:58:10 +0000 (20:58 -0800)
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>
include/linux/icmpv6.h

index e4d4300d768fd6fdef3bf76195969b31da8f77f9..03067443198a3baf0e5bef0c3ba0dfa05499fd1d 100644 (file)
@@ -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,