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 d079fc61c123bc6569ffe976d76743410f8cf9b3..2f26dfb8450e89057b97a09d1a14f152b4d3d8e7 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;