projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
352e512
)
[NET]: Remove unnecessary inclusion of dst.h
author
Herbert Xu
<herbert@gondor.apana.org.au>
Wed, 14 Nov 2007 05:34:34 +0000
(21:34 -0800)
committer
David S. Miller
<davem@davemloft.net>
Mon, 28 Jan 2008 22:53:38 +0000
(14:53 -0800)
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>
include/net/netevent.h
patch
|
blob
|
history
diff --git
a/include/net/netevent.h
b/include/net/netevent.h
index e5d2162414234c383dae1382f3ca75fad2a75ea2..e82b7bab3ff355bfe85bb6a0f8504ff3a4ea54d7 100644
(file)
--- 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;