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 b895b7f6fc022e53796707ac64ec8cc672333178..1560541a101c315b63c2950eb48758cb56b2d515 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 ac946abe12c53c3c914dfda6b0bbabd593dec339..e7ea9b2aec91d93d55a673b359f545a1ef49e85d 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 eb13413b5815dfe323983a1cf239c7ef7fc6b750..7916a710da413b679560840f5ea8f6aca24ed823 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 062523e50417f7c6e7c81bdab9de04db15e24204..f2bcc3efa55a81e26f046d58e7d88534b215440b 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 107a59b6f8aee059458271a9d9d97576079fbf72..07c7c49f168f9e31da5750f8622a6f9f1c854465 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 {