net: Fix warnings in dst_ops.h
authorDavid S. Miller <davem@davemloft.net>
Thu, 19 Jul 2012 17:43:03 +0000 (10:43 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 19 Jul 2012 17:43:03 +0000 (10:43 -0700)
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

index d079fc6..2f26dfb 100644 (file)
@@ -8,6 +8,7 @@ struct dst_entry;
 struct kmem_cachep;
 struct net_device;
 struct sk_buff;
+struct sock;
 
 struct dst_ops {
        unsigned short          family;