From: Guus Sliepen Date: Sat, 28 May 2011 21:46:56 +0000 (+0200) Subject: Remove a few unnecessary #includes. X-Git-Tag: release-1.0.15~5 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=64771f73ebbff04262defcde59263e98f89f0fa1;p=oweals%2Ftinc.git Remove a few unnecessary #includes. Some spotted by Michael Tokarev. --- diff --git a/src/conf.c b/src/conf.c index b895b7f..1560541 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 ac946ab..e7ea9b2 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 eb13413..7916a71 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 062523e..f2bcc3e 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 107a59b..07c7c49 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 {