Remove a few unnecessary #includes.
authorGuus Sliepen <guus@tinc-vpn.org>
Sat, 28 May 2011 21:46:56 +0000 (23:46 +0200)
committerGuus Sliepen <guus@tinc-vpn.org>
Sat, 28 May 2011 21:46:56 +0000 (23:46 +0200)
Some spotted by Michael Tokarev.

src/conf.c
src/connection.c
src/connection.h
src/net_packet.c
src/node.h

index b895b7f..1560541 100644 (file)
@@ -26,6 +26,7 @@
 #include "avl_tree.h"
 #include "connection.h"
 #include "conf.h"
+#include "list.h"
 #include "logger.h"
 #include "netutl.h"                            /* for str2address */
 #include "protocol.h"
index ac946ab..e7ea9b2 100644 (file)
 
 #include "avl_tree.h"
 #include "conf.h"
-#include "list.h"
 #include "logger.h"
-#include "net.h"                               /* Don't ask. */
-#include "netutl.h"
 #include "subnet.h"
 #include "utils.h"
 #include "xalloc.h"
index eb13413..7916a71 100644 (file)
@@ -45,7 +45,6 @@ typedef struct connection_status_t {
 } connection_status_t;
 
 #include "edge.h"
-#include "list.h"
 #include "net.h"
 #include "node.h"
 
index 062523e..f2bcc3e 100644 (file)
@@ -43,7 +43,6 @@
 #include "ethernet.h"
 #include "event.h"
 #include "graph.h"
-#include "list.h"
 #include "logger.h"
 #include "net.h"
 #include "netutl.h"
index 107a59b..07c7c49 100644 (file)
@@ -24,7 +24,6 @@
 #include "avl_tree.h"
 #include "connection.h"
 #include "event.h"
-#include "list.h"
 #include "subnet.h"
 
 typedef struct node_status_t {