[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20120719.104322.441167767135286212.davem@davemloft.net>
Date: Thu, 19 Jul 2012 10:43:22 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: netdev@...r.kernel.org
Subject: [PATCH] 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 <davem@...emloft.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
Powered by blists - more mailing lists