Commit f59d43899e279c77924a7ada4bec8c70e5aeca06

Authored by David S. Miller
1 parent 0dc47877a3

[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>

Showing 1 changed file with 1 additions and 0 deletions Side-by-side Diff

include/linux/icmpv6.h
... ... @@ -184,6 +184,7 @@
184 184 int code, int pos);
185 185  
186 186 struct flowi;
  187 +struct in6_addr;
187 188 extern void icmpv6_flow_init(struct sock *sk,
188 189 struct flowi *fl,
189 190 u8 type,