Netdev List
 help / color / mirror / Atom feed
* [PATCH] net: Fix warnings in dst_ops.h
@ 2012-07-19 17:43 David Miller
  0 siblings, 0 replies; only message in thread
From: David Miller @ 2012-07-19 17:43 UTC (permalink / raw)
  To: netdev


include/net/dst_ops.h:28:20: warning: ‘struct sock’ declared inside parameter list

Signed-off-by: David S. Miller <davem@davemloft.net>
---
 include/net/dst_ops.h |    1 +
 1 file changed, 1 insertion(+)

diff --git a/include/net/dst_ops.h b/include/net/dst_ops.h
index d079fc6..2f26dfb 100644
--- a/include/net/dst_ops.h
+++ b/include/net/dst_ops.h
@@ -8,6 +8,7 @@ struct dst_entry;
 struct kmem_cachep;
 struct net_device;
 struct sk_buff;
+struct sock;
 
 struct dst_ops {
 	unsigned short		family;
-- 
1.7.10.4


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2012-07-19 17:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-19 17:43 [PATCH] net: Fix warnings in dst_ops.h David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox