Skip to content

Commit

Permalink
[IPV6]: Fix powerpc allmodconfig build warnings.
Browse files Browse the repository at this point in the history
Introduced by changeset 95e41e9
("[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>
  • Loading branch information
David S. Miller committed Mar 6, 2008
1 parent 0dc4787 commit f59d438
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/linux/icmpv6.h
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit f59d438

Please sign in to comment.