From: Amos Jeffries Date: Thu, 30 May 2013 14:58:49 +0000 (-0600) Subject: Cleanup: remove useless includes X-Git-Tag: SQUID_3_4_0_1~89 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5cc71155b444c3db8b340ed1a2bd93a6cdf041e7;p=thirdparty%2Fsquid.git Cleanup: remove useless includes --- diff --git a/src/HttpHdrSc.h b/src/HttpHdrSc.h index c4ea7c28b9..7865b6497f 100644 --- a/src/HttpHdrSc.h +++ b/src/HttpHdrSc.h @@ -32,7 +32,6 @@ #ifndef SQUID_HTTPHDRSURROGATECONTROL_H #define SQUID_HTTPHDRSURROGATECONTROL_H -#include "dlink.h" #include "HttpHdrScTarget.h" class StatHist; diff --git a/src/client_side.h b/src/client_side.h index 310de54b8e..79872cdefb 100644 --- a/src/client_side.h +++ b/src/client_side.h @@ -33,15 +33,9 @@ #ifndef SQUID_CLIENTSIDE_H #define SQUID_CLIENTSIDE_H -#include "base/AsyncJob.h" -#include "base/RefCount.h" -#include "BodyPipe.h" #include "comm.h" -#include "CommCalls.h" -#include "HttpRequest.h" #include "HttpControlMsg.h" #include "HttpParser.h" -#include "StoreIOBuffer.h" #if USE_AUTH #include "auth/UserRequest.h" #endif diff --git a/src/client_side_reply.cc b/src/client_side_reply.cc index d299a5afe0..68e29f52aa 100644 --- a/src/client_side_reply.cc +++ b/src/client_side_reply.cc @@ -34,9 +34,6 @@ #include "acl/Gadgets.h" #include "anyp/PortCfg.h" #include "client_side_reply.h" -#include "client_side.h" -#include "clientStream.h" -#include "dlink.h" #include "errorpage.h" #include "fd.h" #include "fde.h" @@ -58,7 +55,6 @@ #include "SquidConfig.h" #include "SquidTime.h" #include "Store.h" -#include "StoreClient.h" #include "StrList.h" #include "tools.h" #include "URL.h" diff --git a/src/client_side_reply.h b/src/client_side_reply.h index 90fec3db8c..18dec5efe7 100644 --- a/src/client_side_reply.h +++ b/src/client_side_reply.h @@ -31,15 +31,12 @@ #ifndef SQUID_CLIENTSIDEREPLY_H #define SQUID_CLIENTSIDEREPLY_H -#include "base/RefCount.h" #include "client_side_request.h" -#include "clientStream.h" -#include "HttpHeader.h" +#include "ip/forward.h" #include "RequestFlags.h" #include "StoreClient.h" class ErrorState; -#include "ip/forward.h" /* XXX make static method */ diff --git a/src/client_side_request.h b/src/client_side_request.h index 53d5ac7e73..106eef46e4 100644 --- a/src/client_side_request.h +++ b/src/client_side_request.h @@ -31,12 +31,9 @@ #define SQUID_CLIENTSIDEREQUEST_H #include "acl/forward.h" -#include "HttpHeader.h" +#include "AccessLogEntry.h" #include "clientStream.h" #include "client_side.h" -#include "AccessLogEntry.h" -#include "dlink.h" -#include "base/AsyncJob.h" #include "HttpHeaderRange.h" #include "LogTags.h" diff --git a/src/comm.h b/src/comm.h index 7c0f228078..571c1b310e 100644 --- a/src/comm.h +++ b/src/comm.h @@ -1,10 +1,7 @@ #ifndef __COMM_H__ #define __COMM_H__ -#include "AsyncEngine.h" -#include "base/AsyncCall.h" #include "CommCalls.h" -#include "comm_err_t.h" #include "comm/IoCallback.h" #include "StoreIOBuffer.h"