]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Removed httpHeaderStoreReport from the global namespace.
authorFrancesco Chemolli <kinkie@squid-cache.org>
Wed, 29 Aug 2012 11:24:49 +0000 (13:24 +0200)
committerFrancesco Chemolli <kinkie@squid-cache.org>
Wed, 29 Aug 2012 11:24:49 +0000 (13:24 +0200)
src/HttpHeader.cc
src/HttpHeader.h
src/protos.h

index 1191e254808f808634ca55a2608b7513994bdb37..c5666ff5c231bbfb0e58f44ac2ef7fe7753bd7a4 100644 (file)
@@ -280,9 +280,10 @@ static int HttpHeaderStatCount = countof(HttpHeaderStats);
 static int HeaderEntryParsedCount = 0;
 
 /*
- * local routines
+ * forward declarations and local routines
  */
 
+class StoreEntry;
 #define assert_eid(id) assert((id) >= 0 && (id) < HDR_ENUM_END)
 
 static void httpHeaderNoteParsedEntry(http_hdr_type id, String const &value, int error);
@@ -290,6 +291,9 @@ static void httpHeaderNoteParsedEntry(http_hdr_type id, String const &value, int
 static void httpHeaderStatInit(HttpHeaderStat * hs, const char *label);
 static void httpHeaderStatDump(const HttpHeaderStat * hs, StoreEntry * e);
 
+/** store report about current header usage and other stats */
+static void httpHeaderStoreReport(StoreEntry * e);
+
 /*
  * Module initialization routines
  */
index 9f4c5f5618a03287729a494178fbee1fd982a553..9197ac24aa84b87f6367b87e17315531f6386e5d 100644 (file)
@@ -44,6 +44,7 @@ class HttpHdrCc;
 class HttpHdrSc;
 class HttpHdrRange;
 class String;
+class StoreEntry;
 
 /* constant attributes of http header fields */
 
@@ -305,4 +306,5 @@ HttpHeader::chunked() const
 extern void httpHeaderInitModule(void);
 extern void httpHeaderCleanModule(void);
 
+
 #endif /* SQUID_HTTPHEADER_H */
index b0c73de4252434df0d027eda6ed6bc3a227576fd..44aa16cbde52b573cea19c5239ee27319622b380 100644 (file)
@@ -56,8 +56,6 @@ class HttpRequest;
 class HttpReply;
 
 
-/* store report about current header usage and other stats */
-void httpHeaderStoreReport(StoreEntry * e);
 SQUIDCEXTERN void httpHdrMangleList(HttpHeader *, HttpRequest *, int req_or_rep);
 
 #if SQUID_SNMP