From cc336b75580d012c1caee58a252d1ad14b2cee23 Mon Sep 17 00:00:00 2001 From: Alexander Barton Date: Tue, 18 May 2010 17:06:31 +0200 Subject: [PATCH] Only #include resolve.h if it is really needed --- src/ngircd/channel.c | 1 - src/ngircd/client.c | 1 - src/ngircd/conf.c | 1 - src/ngircd/irc-channel.c | 1 - src/ngircd/irc-info.c | 1 - src/ngircd/irc-login.c | 1 - src/ngircd/irc-mode.c | 1 - src/ngircd/irc-oper.c | 1 - src/ngircd/irc-server.c | 1 - src/ngircd/irc.c | 1 - src/ngircd/ngircd.c | 1 - src/ngircd/numeric.c | 1 - 12 files changed, 12 deletions(-) diff --git a/src/ngircd/channel.c b/src/ngircd/channel.c index 6e9e0f47..0fa38deb 100644 --- a/src/ngircd/channel.c +++ b/src/ngircd/channel.c @@ -34,7 +34,6 @@ #include "imp.h" #include "irc-write.h" -#include "resolve.h" #include "conf.h" #include "hash.h" #include "lists.h" diff --git a/src/ngircd/client.c b/src/ngircd/client.c index 7cf10da6..e6dbf156 100644 --- a/src/ngircd/client.c +++ b/src/ngircd/client.c @@ -35,7 +35,6 @@ #include #include "ngircd.h" #include "channel.h" -#include "resolve.h" #include "conf.h" #include "hash.h" #include "irc-write.h" diff --git a/src/ngircd/conf.c b/src/ngircd/conf.c index 694b5d46..f9db5c75 100644 --- a/src/ngircd/conf.c +++ b/src/ngircd/conf.c @@ -44,7 +44,6 @@ #include "defines.h" #include "log.h" #include "match.h" -#include "resolve.h" #include "tool.h" #include "exp.h" diff --git a/src/ngircd/irc-channel.c b/src/ngircd/irc-channel.c index 1014d3aa..138a94ab 100644 --- a/src/ngircd/irc-channel.c +++ b/src/ngircd/irc-channel.c @@ -32,7 +32,6 @@ #include "parse.h" #include "irc-info.h" #include "irc-write.h" -#include "resolve.h" #include "conf.h" #include "exp.h" diff --git a/src/ngircd/irc-info.c b/src/ngircd/irc-info.c index 7e0bf63c..806ab274 100644 --- a/src/ngircd/irc-info.c +++ b/src/ngircd/irc-info.c @@ -27,7 +27,6 @@ #include "conn-zip.h" #include "client.h" #include "channel.h" -#include "resolve.h" #include "conf.h" #include "defines.h" #include "log.h" diff --git a/src/ngircd/irc-login.c b/src/ngircd/irc-login.c index 8e77e7fe..cd1899ce 100644 --- a/src/ngircd/irc-login.c +++ b/src/ngircd/irc-login.c @@ -22,7 +22,6 @@ #include #include "ngircd.h" -#include "resolve.h" #include "conn-func.h" #include "conf.h" #include "client.h" diff --git a/src/ngircd/irc-mode.c b/src/ngircd/irc-mode.c index 10d4641e..9a0f3972 100644 --- a/src/ngircd/irc-mode.c +++ b/src/ngircd/irc-mode.c @@ -29,7 +29,6 @@ #include "log.h" #include "parse.h" #include "messages.h" -#include "resolve.h" #include "conf.h" #include "exp.h" diff --git a/src/ngircd/irc-oper.c b/src/ngircd/irc-oper.c index 8492603d..900c8609 100644 --- a/src/ngircd/irc-oper.c +++ b/src/ngircd/irc-oper.c @@ -21,7 +21,6 @@ #include #include "ngircd.h" -#include "resolve.h" #include "conn-func.h" #include "conf.h" #include "client.h" diff --git a/src/ngircd/irc-server.c b/src/ngircd/irc-server.c index a0a94688..987513bb 100644 --- a/src/ngircd/irc-server.c +++ b/src/ngircd/irc-server.c @@ -22,7 +22,6 @@ #include #include "defines.h" -#include "resolve.h" #include "conn.h" #include "conn-func.h" #include "conn-zip.h" diff --git a/src/ngircd/irc.c b/src/ngircd/irc.c index 0cb9a6e5..f913d8d6 100644 --- a/src/ngircd/irc.c +++ b/src/ngircd/irc.c @@ -22,7 +22,6 @@ static char UNUSED id[] = "$Id: irc.c,v 1.132 2008/01/15 22:28:14 fw Exp $"; #include #include "ngircd.h" -#include "resolve.h" #include "conn-func.h" #include "conf.h" #include "client.h" diff --git a/src/ngircd/ngircd.c b/src/ngircd/ngircd.c index b951badb..8b2e4a82 100644 --- a/src/ngircd/ngircd.c +++ b/src/ngircd/ngircd.c @@ -39,7 +39,6 @@ #endif #include "defines.h" -#include "resolve.h" #include "conn.h" #include "conf-ssl.h" #include "client.h" diff --git a/src/ngircd/numeric.c b/src/ngircd/numeric.c index c3d94c3d..b0a7798b 100644 --- a/src/ngircd/numeric.c +++ b/src/ngircd/numeric.c @@ -20,7 +20,6 @@ #include #include "defines.h" -#include "resolve.h" #include "conn.h" #include "conf.h" #include "conn.h"