]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Bug #2166 - Error compiling on Mac OS X 10.5 Leopard
authoramosjeffries <>
Wed, 6 Feb 2008 11:05:38 +0000 (11:05 +0000)
committeramosjeffries <>
Wed, 6 Feb 2008 11:05:38 +0000 (11:05 +0000)
src/ACLHTTPRepHeader.cc
src/ACLHTTPReqHeader.cc
src/ACLStrategised.cc

index 9935c40f596f5c7754c2864e02cace23ecc0e114..1623ad8679f21d9e5914a1ef7d4519b739d40ca5 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: ACLHTTPRepHeader.cc,v 1.1 2006/06/14 19:18:24 serassio Exp $
+ * $Id: ACLHTTPRepHeader.cc,v 1.2 2008/02/06 04:05:38 amosjeffries Exp $
  *
  *
  * SQUID Web Proxy Cache          http://www.squid-cache.org/
 #include "ACLChecklist.h"
 #include "HttpReply.h"
 
-/* explicit template instantiation required for some systems */
-
-template class ACLStrategised<HttpHeader*>
-
-;
-
 ACL::Prototype ACLHTTPRepHeader::RegistryProtoype(&ACLHTTPRepHeader::RegistryEntry_, "rep_header");
 
 ACLStrategised<HttpHeader*> ACLHTTPRepHeader::RegistryEntry_(new ACLHTTPHeaderData, ACLHTTPRepHeaderStrategy::Instance(), "rep_header");
index c71421a44b5f92eb0c57c234635b8d1390077a3b..5dde2458dc43819263558236e1c5d00f08488dfc 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: ACLHTTPReqHeader.cc,v 1.1 2006/06/14 19:18:24 serassio Exp $
+ * $Id: ACLHTTPReqHeader.cc,v 1.2 2008/02/06 04:05:38 amosjeffries Exp $
  *
  *
  * SQUID Web Proxy Cache          http://www.squid-cache.org/
 #include "ACLChecklist.h"
 #include "HttpRequest.h"
 
-/* explicit template instantiation required for some systems */
-
-template class ACLStrategised<HttpHeader*>
-
-;
-
 ACL::Prototype ACLHTTPReqHeader::RegistryProtoype(&ACLHTTPReqHeader::RegistryEntry_, "req_header");
 
 ACLStrategised<HttpHeader*> ACLHTTPReqHeader::RegistryEntry_(new ACLHTTPHeaderData, ACLHTTPReqHeaderStrategy::Instance(), "req_header");
index ec7e2dbe2782d049a0acb5aafeadd01abc73c002..5d214ac2c594ef7e3e1886f012d0085444d36bd8 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: ACLStrategised.cc,v 1.1 2003/02/17 07:01:34 robertc Exp $
+ * $Id: ACLStrategised.cc,v 1.2 2008/02/06 04:05:38 amosjeffries Exp $
  *
  * DEBUG: section 28    Access Control
  * AUTHOR: Duane Wessels
 #include "ACLRegexData.h"
 #include "ACLDomainData.h"
 
+/* 
+ *  moved template instantiation into ACLStrategized.cc from
+ *  ACLHTTPRepHeader.cc and ACLHTTPReqHeader.cc to compile on
+ *  Mac OSX 10.5 Leopard, this corrects a duplicate symbol error
+ */
+/* explicit template instantiation required for some systems */
+
+template class ACLStrategised<HttpHeader*>
+
+;