summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2007-11-13 21:34:34 -0800
committerDavid S. Miller <davem@davemloft.net>2008-01-28 14:53:38 -0800
commit274b3426db25b8d63cbf25475e728ce1ee6caebd (patch)
tree8640ea0499618f6490bbe76896c955b9b4cbacd2 /include
parent352e512c32b634768303a43768245a0363cebbe7 (diff)
downloadlinux-274b3426db25b8d63cbf25475e728ce1ee6caebd.tar.bz2
[NET]: Remove unnecessary inclusion of dst.h
The file net/netevent.h only refers to struct dst_entry * so it doesn't need to include dst.h. I've replaced it with a forward declaration. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r--include/net/netevent.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/netevent.h b/include/net/netevent.h
index e5d216241423..e82b7bab3ff3 100644
--- a/include/net/netevent.h
+++ b/include/net/netevent.h
@@ -12,7 +12,7 @@
*/
#ifdef __KERNEL__
-#include <net/dst.h>
+struct dst_entry;
struct netevent_redirect {
struct dst_entry *old;