From 64771f73ebbff04262defcde59263e98f89f0fa1 Mon Sep 17 00:00:00 2001 From: Guus Sliepen Date: Sat, 28 May 2011 23:46:56 +0200 Subject: [PATCH] Remove a few unnecessary #includes. Some spotted by Michael Tokarev. --- src/conf.c | 1 + src/connection.c | 3 --- src/connection.h | 1 - src/net_packet.c | 1 - src/node.h | 1 - 5 files changed, 1 insertion(+), 6 deletions(-) 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 { -- 2.25.1