From: Guus Sliepen Date: Sat, 28 May 2011 21:46:56 +0000 (+0200) Subject: Remove a few unnecessary #includes. X-Git-Tag: import-tinc-1.1~486^2~3 X-Git-Url: https://git.meshlink.io/?a=commitdiff_plain;h=64771f73ebbff04262defcde59263e98f89f0fa1;p=meshlink Remove a few unnecessary #includes. Some spotted by Michael Tokarev. --- diff --git a/src/conf.c b/src/conf.c index b895b7f6..1560541a 100644 --- a/src/conf.c +++ b/src/conf.c @@ -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" diff --git a/src/connection.c b/src/connection.c index ac946abe..e7ea9b2a 100644 --- a/src/connection.c +++ b/src/connection.c @@ -23,10 +23,7 @@ #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" diff --git a/src/connection.h b/src/connection.h index eb13413b..7916a710 100644 --- a/src/connection.h +++ b/src/connection.h @@ -45,7 +45,6 @@ typedef struct connection_status_t { } connection_status_t; #include "edge.h" -#include "list.h" #include "net.h" #include "node.h" diff --git a/src/net_packet.c b/src/net_packet.c index 062523e5..f2bcc3ef 100644 --- a/src/net_packet.c +++ b/src/net_packet.c @@ -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" diff --git a/src/node.h b/src/node.h index 107a59b6..07c7c49f 100644 --- a/src/node.h +++ b/src/node.h @@ -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 {