From: David S. Miller Date: Thu, 19 Jul 2012 17:43:03 +0000 (-0700) Subject: net: Fix warnings in dst_ops.h X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d8f1641b5829629d3af8e52750ba3b542f8f56c8;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git net: Fix warnings in dst_ops.h include/net/dst_ops.h:28:20: warning: ‘struct sock’ declared inside parameter list Signed-off-by: David S. Miller --- diff --git a/include/net/dst_ops.h b/include/net/dst_ops.h index d079fc61c123..2f26dfb8450e 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;