From: p <> Date: Fri, 31 Aug 2012 10:57:13 +0000 (+0200) Subject: Removed useless includes in protos.h X-Git-Tag: sourceformat-review-1~30^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=cdaba1d8f226e6d577cbaa732d29eba380dcf84a;p=thirdparty%2Fsquid.git Removed useless includes in protos.h --- diff --git a/include/Range.h b/include/Range.h index a77147513a..0bae5d435b 100644 --- a/include/Range.h +++ b/include/Range.h @@ -33,6 +33,8 @@ #ifndef SQUID_RANGE_H #define SQUID_RANGE_H +#include "Debug.h" + #if HAVE_IOSFWD #include #endif diff --git a/src/acl/StringData.cc b/src/acl/StringData.cc index b257edad2c..e2b4f5a371 100644 --- a/src/acl/StringData.cc +++ b/src/acl/StringData.cc @@ -37,6 +37,7 @@ #include "squid.h" #include "acl/StringData.h" #include "acl/Checklist.h" +#include "Debug.h" #include "protos.h" #include "wordlist.h" diff --git a/src/protos.h b/src/protos.h index 5b2b72140d..a4f4a59480 100644 --- a/src/protos.h +++ b/src/protos.h @@ -29,10 +29,6 @@ #ifndef SQUID_PROTOS_H #define SQUID_PROTOS_H -/* included for routines that have not moved out to their proper homes - * yet. - */ -#include "Packer.h" /* for routines still in this file that take CacheManager parameters */ #include "ip/Address.h" /* for parameters that still need these */ @@ -40,10 +36,6 @@ /* some parameters stil need this */ #include "wordlist.h" #include "anyp/ProtocolType.h" -#include "Debug.h" -#include "HttpHeader.h" -#include "HttpStatusCode.h" -#include "lookup_t.h" class HttpRequestMethod; #if USE_DELAY_POOLS