]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Summary: MSVC Compatability.
authorrobertc <>
Mon, 14 Jul 2003 14:21:56 +0000 (14:21 +0000)
committerrobertc <>
Mon, 14 Jul 2003 14:21:56 +0000 (14:21 +0000)
Keywords:

Don't use inline static initialiser in cbdata.
MSVC Doesn't like
  Foo *Class::Static(NULL);
 convert to
  Foo (*Class::Static)(NULL);
 throughout.

32 files changed:
src/ACLARP.cc
src/ACLCertificateData.cc
src/ACLDestinationDomain.cc
src/ACLDestinationIP.cc
src/ACLDomainData.cc
src/ACLExtUser.cc
src/ACLIP.cc
src/ACLIdent.cc
src/ACLMaxConnection.cc
src/ACLMaxUserIP.cc
src/ACLMethodData.cc
src/ACLMyIP.cc
src/ACLProtocolData.cc
src/ACLProxyAuth.cc
src/ACLRegexData.cc
src/ACLReplyHeaderStrategy.h
src/ACLRequestHeaderStrategy.h
src/ACLSourceIP.cc
src/ACLStrategised.h
src/ACLStringData.cc
src/ACLTimeData.cc
src/ACLUserData.cc
src/HttpHeader.cc
src/HttpReply.cc
src/acl.cc
src/asn.cc
src/auth/digest/auth_digest.cc
src/auth/ntlm/auth_ntlm.cc
src/cbdata.cc
src/comm.cc
src/debug.cc
src/external_acl.cc

index 3327c55272e7bd769767e4c9770c620dcb32be73..0f9b1a55f809070ac8ea9dc6dec61a15c6cf949c 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: ACLARP.cc,v 1.2 2003/03/01 11:04:45 hno Exp $
+ * $Id: ACLARP.cc,v 1.3 2003/07/14 08:21:56 robertc Exp $
  *
  * DEBUG: section 28    Access Control
  * AUTHOR: Duane Wessels
@@ -84,7 +84,7 @@ ACLARP::ACLARP (ACLARP const & old) : data (NULL), class_ (old.class_)
     assert (!old.data);
 }
 
-MemPool *ACLARP::Pool(NULL);
+MemPool (*ACLARP::Pool)(NULL);
 void *
 ACLARP::operator new (size_t byteCount)
 {
index 8554e048ee1c49cab38ffe0c0ae27cec9f9e4ea6..08405de3940d6898158d6517a41e581602132f0a 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: ACLCertificateData.cc,v 1.4 2003/02/25 12:16:55 robertc Exp $
+ * $Id: ACLCertificateData.cc,v 1.5 2003/07/14 08:21:56 robertc Exp $
  *
  * DEBUG: section 28    Access Control
  * AUTHOR: Duane Wessels
@@ -39,7 +39,7 @@
 #include "authenticate.h"
 #include "ACLChecklist.h"
 
-MemPool *ACLCertificateData::Pool(NULL);
+MemPool (*ACLCertificateData::Pool)(NULL);
 void *
 ACLCertificateData::operator new (size_t byteCount)
 {
index 5dc355a6a10547f81420601ba2989debe0cda315..86f094b73b4d221bf52e5478c340b057f0b96088 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: ACLDestinationDomain.cc,v 1.4 2003/07/11 01:40:34 robertc Exp $
+ * $Id: ACLDestinationDomain.cc,v 1.5 2003/07/14 08:21:56 robertc Exp $
  *
  * DEBUG: section 28    Access Control
  * AUTHOR: Duane Wessels
@@ -42,7 +42,7 @@
 #include "ACLDomainData.h"
 #include "HttpRequest.h"
 
-MemPool *ACLDestinationDomain::Pool(NULL);
+MemPool (*ACLDestinationDomain::Pool)(NULL);
 void *
 ACLDestinationDomain::operator new (size_t byteCount)
 {
index e48af21936d3a783de785beed304ef80252cd582..5456f8fe7ea20c356acd2c2fca42468b3bd7c9ee 100644 (file)
@@ -38,7 +38,7 @@
 #include "ACLChecklist.h"
 #include "HttpRequest.h"
 
-MemPool *ACLDestinationIP::Pool(NULL);
+MemPool (*ACLDestinationIP::Pool)(NULL);
 void *
 ACLDestinationIP::operator new (size_t byteCount)
 {
index 0968cfa952c1623f11c8db856646b43f6c386abb..3e42bfc1f7d0b34f031aec645d67f8568fb48f74 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: ACLDomainData.cc,v 1.3 2003/02/21 22:50:04 robertc Exp $
+ * $Id: ACLDomainData.cc,v 1.4 2003/07/14 08:21:56 robertc Exp $
  *
  * DEBUG: section 28    Access Control
  * AUTHOR: Duane Wessels
@@ -39,7 +39,7 @@
 #include "authenticate.h"
 #include "ACLChecklist.h"
 
-MemPool *ACLDomainData::Pool(NULL);
+MemPool (*ACLDomainData::Pool)(NULL);
 void *
 ACLDomainData::operator new (size_t byteCount)
 {
index 718b008a7973b5f87712225384f7e8026fefc4fb..b15b6cdd0c23d080f8c6cec5b9968f91e743b153 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: ACLExtUser.cc,v 1.2 2003/07/11 01:40:34 robertc Exp $
+ * $Id: ACLExtUser.cc,v 1.3 2003/07/14 08:21:56 robertc Exp $
  *
  * DEBUG: section 28    Access Control
  * AUTHOR: Duane Wessels
@@ -43,7 +43,7 @@
 #include "client_side.h"
 #include "HttpRequest.h"
 
-MemPool *ACLExtUser::Pool(NULL);
+MemPool (*ACLExtUser::Pool)(NULL);
 void *
 ACLExtUser::operator new (size_t byteCount)
 {
index 20e2413a37cb33c038fdf9f4c54db3c13b3249d2..2778a13fd25990bbe4b13eb9ce4c1c30c552e194 100644 (file)
@@ -399,7 +399,7 @@ ACLIP::match(struct in_addr &clientip)
     return !splayLastResult;
 }
 
-MemPool *acl_ip_data::Pool(NULL);
+MemPool (*acl_ip_data::Pool)(NULL);
 void *
 acl_ip_data::operator new (size_t byteCount)
 {
index 5b031a2c9b75add2a2507aebf281537ee345dd67..787c2ea326ac36a4e1ec6cdaecf842d077d4b78e 100644 (file)
@@ -42,7 +42,7 @@
 #include "ACLUserData.h"
 #include "client_side.h"
 
-MemPool *ACLIdent::Pool(NULL);
+MemPool (*ACLIdent::Pool)(NULL);
 void *
 ACLIdent::operator new (size_t byteCount)
 {
index 7d1042c1fbc7c38eb53d31a20c9ba1a44a092c4a..496ff39c7676429f57b4a05a5b807fea4c381076 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: ACLMaxConnection.cc,v 1.1 2003/02/25 12:16:55 robertc Exp $
+ * $Id: ACLMaxConnection.cc,v 1.2 2003/07/14 08:21:56 robertc Exp $
  *
  * DEBUG: section 28    Access Control
  * AUTHOR: Duane Wessels
@@ -53,7 +53,7 @@ ACLMaxConnection::ACLMaxConnection (char const *theClass) : class_ (theClass), l
 ACLMaxConnection::ACLMaxConnection (ACLMaxConnection const & old) :class_ (old.class_), limit (old.limit)
 {}
 
-MemPool *ACLMaxConnection::Pool(NULL);
+MemPool (*ACLMaxConnection::Pool)(NULL);
 void *
 ACLMaxConnection::operator new (size_t byteCount)
 {
index 842132e68c485f00051452c908b29b8333df7876..0e5203db216eac639ee18a141ce2d33127225a5e 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: ACLMaxUserIP.cc,v 1.2 2003/03/10 20:12:43 robertc Exp $
+ * $Id: ACLMaxUserIP.cc,v 1.3 2003/07/14 08:21:57 robertc Exp $
  *
  * DEBUG: section 28    Access Control
  * AUTHOR: Duane Wessels
@@ -54,7 +54,7 @@ ACLMaxUserIP::ACLMaxUserIP (char const *theClass) : class_ (theClass), maximum(0
 ACLMaxUserIP::ACLMaxUserIP (ACLMaxUserIP const & old) :class_ (old.class_), maximum (old.maximum), flags (old.flags)
 {}
 
-MemPool *ACLMaxUserIP::Pool(NULL);
+MemPool (*ACLMaxUserIP::Pool)(NULL);
 void *
 ACLMaxUserIP::operator new (size_t byteCount)
 {
index 32a78d801a9a1e26fbfd363a73cc5f61e36a5521..279373bee939df19bb2f09d95b96209a3f90460d 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: ACLMethodData.cc,v 1.1 2003/02/25 12:16:55 robertc Exp $
+ * $Id: ACLMethodData.cc,v 1.2 2003/07/14 08:21:57 robertc Exp $
  *
  * DEBUG: section 28    Access Control
  * AUTHOR: Duane Wessels
@@ -38,7 +38,7 @@
 #include "ACLMethodData.h"
 #include "ACLChecklist.h"
 
-MemPool *ACLMethodData::Pool(NULL);
+MemPool (*ACLMethodData::Pool)(NULL);
 void *
 ACLMethodData::operator new (size_t byteCount)
 {
index d41d16ebe99c862dc935748619efcd1a6c9daa5c..d0bec2a23a7f9a8aebbcb6f37f22688a0588635b 100644 (file)
@@ -37,7 +37,7 @@
 #include "ACLMyIP.h"
 #include "ACLChecklist.h"
 
-MemPool *ACLMyIP::Pool(NULL);
+MemPool (*ACLMyIP::Pool)(NULL);
 void *
 ACLMyIP::operator new (size_t byteCount)
 {
index a0053053f6e11fa7a2672bd3fa83ff6eb72d973d..fdde7115b1bc154378b33509c505d283bb60d8fb 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: ACLProtocolData.cc,v 1.1 2003/02/25 12:16:55 robertc Exp $
+ * $Id: ACLProtocolData.cc,v 1.2 2003/07/14 08:21:56 robertc Exp $
  *
  * DEBUG: section 28    Access Control
  * AUTHOR: Duane Wessels
@@ -38,7 +38,7 @@
 #include "ACLProtocolData.h"
 #include "ACLChecklist.h"
 
-MemPool *ACLProtocolData::Pool(NULL);
+MemPool (*ACLProtocolData::Pool)(NULL);
 void *
 ACLProtocolData::operator new (size_t byteCount)
 {
index ba5f8dc9f8e45ff5961684b8cb936ef89aa5e5d6..0b3395149ccee62bf1985ac70c9be7f487a613d7 100644 (file)
@@ -43,7 +43,7 @@
 #include "client_side.h"
 #include "HttpRequest.h"
 
-MemPool *ACLProxyAuth::Pool(NULL);
+MemPool (*ACLProxyAuth::Pool)(NULL);
 void *
 ACLProxyAuth::operator new (size_t byteCount)
 {
index 0084566efe6af507e429ace29319c11adaaaf34f..64c703c2002832449c9d0ddd4161bb845f8ff99f 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: ACLRegexData.cc,v 1.4 2003/02/25 12:16:55 robertc Exp $
+ * $Id: ACLRegexData.cc,v 1.5 2003/07/14 08:21:56 robertc Exp $
  *
  * DEBUG: section 28    Access Control
  * AUTHOR: Duane Wessels
@@ -40,7 +40,7 @@
 #include "ACLChecklist.h"
 #include "ACL.h"
 
-MemPool *ACLRegexData::Pool(NULL);
+MemPool (*ACLRegexData::Pool)(NULL);
 void *
 ACLRegexData::operator new (size_t byteCount)
 {
index f4d6bd672470c1242b46865d51c7464e3a54e13a..03bda903519eaf8f69b4e09cbfa5771c652b1bfc 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: ACLReplyHeaderStrategy.h,v 1.2 2003/06/19 13:12:01 robertc Exp $
+ * $Id: ACLReplyHeaderStrategy.h,v 1.3 2003/07/14 08:21:56 robertc Exp $
  *
  *
  * SQUID Web Proxy Cache          http://www.squid-cache.org/
@@ -84,6 +84,6 @@ ACLReplyHeaderStrategy<header>::Instance()
 }
 
 template <http_hdr_type header>
-ACLReplyHeaderStrategy<header> * ACLReplyHeaderStrategy<header>::Instance_(NULL);
+ACLReplyHeaderStrategy<header> (* ACLReplyHeaderStrategy<header>::Instance_)(NULL);
 
 #endif /* SQUID_REPLYHEADERSTRATEGY_H */
index 176ec817d85fb64498c17173733e5e18a7e3da17..5d418c30c0bd4ae8d860779bc3c5c3456aae289f 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: ACLRequestHeaderStrategy.h,v 1.5 2003/07/11 01:40:33 robertc Exp $
+ * $Id: ACLRequestHeaderStrategy.h,v 1.6 2003/07/14 08:21:56 robertc Exp $
  *
  *
  * SQUID Web Proxy Cache          http://www.squid-cache.org/
@@ -85,6 +85,6 @@ ACLRequestHeaderStrategy<header>::Instance()
 }
 
 template <http_hdr_type header>
-ACLRequestHeaderStrategy<header> * ACLRequestHeaderStrategy<header>::Instance_ (NULL);
+ACLRequestHeaderStrategy<header> (* ACLRequestHeaderStrategy<header>::Instance_) (NULL);
 
 #endif /* SQUID_REQUESTHEADERSTRATEGY_H */
index 09cc20ba7fa4e7887f88c176e6e4fed7cfa9df25..1c9b1867e12ed81d1cf86537a29b7ccc1f62900b 100644 (file)
@@ -37,7 +37,7 @@
 #include "ACLSourceIP.h"
 #include "ACLChecklist.h"
 
-MemPool *ACLSourceIP::Pool(NULL);
+MemPool (*ACLSourceIP::Pool)(NULL);
 void *
 ACLSourceIP::operator new (size_t byteCount)
 {
index eabb0516f3483e3633e9e7829db1ee902da61fda..34538f12c328b209a699f20593e11f015c018621 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: ACLStrategised.h,v 1.3 2003/02/25 12:22:34 robertc Exp $
+ * $Id: ACLStrategised.h,v 1.4 2003/07/14 08:21:56 robertc Exp $
  *
  *
  * SQUID Web Proxy Cache          http://www.squid-cache.org/
@@ -77,7 +77,7 @@ private:
 /* implementation follows */
 
 template <class MatchType>
-MemPool *ACLStrategised<MatchType>::Pool(NULL);
+MemPool (*ACLStrategised<MatchType>::Pool)(NULL);
 
 template <class MatchType>
 void *
index 16ac6a1effdae817baf59d80af172020545fa248..33e01125724f0c8a2b3fcc75abffc2fcf66c45d7 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: ACLStringData.cc,v 1.1 2003/02/25 12:16:55 robertc Exp $
+ * $Id: ACLStringData.cc,v 1.2 2003/07/14 08:21:56 robertc Exp $
  *
  * DEBUG: section 28    Access Control
  * AUTHOR: Duane Wessels
@@ -38,7 +38,7 @@
 #include "ACLStringData.h"
 #include "ACLChecklist.h"
 
-MemPool *ACLStringData::Pool(NULL);
+MemPool (*ACLStringData::Pool)(NULL);
 void *
 ACLStringData::operator new (size_t byteCount)
 {
index c02542725b192ce766ae3871267df81d6d709b53..c87c2d2c77e26ef2c4500974abbe936c21cf3cab 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: ACLTimeData.cc,v 1.2 2003/02/21 22:50:04 robertc Exp $
+ * $Id: ACLTimeData.cc,v 1.3 2003/07/14 08:21:57 robertc Exp $
  *
  * DEBUG: section 28    Access Control
  * AUTHOR: Duane Wessels
@@ -39,7 +39,7 @@
 #include "authenticate.h"
 #include "ACLChecklist.h"
 
-MemPool *ACLTimeData::Pool(NULL);
+MemPool (*ACLTimeData::Pool)(NULL);
 void *
 ACLTimeData::operator new (size_t byteCount)
 {
index 567edb8f3b9a06905dfa4be6e2dd9f0d9d9725a0..2617d0f0d7716a07ccfba80964e3ee068b83dc29 100644 (file)
@@ -39,7 +39,7 @@
 #include "authenticate.h"
 #include "ACLChecklist.h"
 
-MemPool *ACLUserData::Pool(NULL);
+MemPool (*ACLUserData::Pool)(NULL);
 void *
 ACLUserData::operator new (size_t byteCount)
 {
index 72ff8a99260de724d66c05517717cc6fe7117c63..d3b1b85cbce5dc66947308cbd685172ddd2a486a 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: HttpHeader.cc,v 1.90 2003/07/10 17:48:04 hno Exp $
+ * $Id: HttpHeader.cc,v 1.91 2003/07/14 08:21:56 robertc Exp $
  *
  * DEBUG: section 55    HTTP Header
  * AUTHOR: Alex Rousskov
@@ -1452,7 +1452,7 @@ httpHeaderNameById(int id)
     return HeadersAttrs[id].name;
 }
 
-MemPool *HttpHeaderEntry::Pool(NULL);
+MemPool (*HttpHeaderEntry::Pool)(NULL);
 void *
 HttpHeaderEntry::operator new (size_t byteCount)
 {
index 6f5a691b3514d98eb81aaf9f70a5a48020e4a4a0..3ae0b07383adb0c82862199ed7724aef6c5b2b90 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: HttpReply.cc,v 1.60 2003/05/11 13:53:03 hno Exp $
+ * $Id: HttpReply.cc,v 1.61 2003/07/14 08:21:56 robertc Exp $
  *
  * DEBUG: section 58    HTTP Reply (Response)
  * AUTHOR: Alex Rousskov
@@ -599,7 +599,7 @@ httpReplyBodySize(method_t method, HttpReply const * reply)
     return reply->content_length;
 }
 
-MemPool *HttpReply::Pool(NULL);
+MemPool (*HttpReply::Pool)(NULL);
 void *
 HttpReply::operator new (size_t byteCount)
 {
index f487e0ce02731b5646b76c9ee8cef61d8daa9702..3757652053d920d8c193588ee0b8aecc0a71a7e4 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: acl.cc,v 1.307 2003/05/17 17:35:05 hno Exp $
+ * $Id: acl.cc,v 1.308 2003/07/14 08:21:56 robertc Exp $
  *
  * DEBUG: section 28    Access Control
  * AUTHOR: Duane Wessels
@@ -668,7 +668,7 @@ acl_access::containsPURGE() const
 
 /* to be split into separate files in the future */
 
-MemPool *ACLList::Pool(NULL);
+MemPool (*ACLList::Pool)(NULL);
 void *
 ACLList::operator new (size_t byteCount)
 {
index 1a787fdfc53d3e10f34b00e80866799de194bfbf..0751f55ef70c594c41b341e040cbb7e6c1bb9bb5 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: asn.cc,v 1.93 2003/06/19 13:12:04 robertc Exp $
+ * $Id: asn.cc,v 1.94 2003/07/14 08:21:56 robertc Exp $
  *
  * DEBUG: section 53    AS Number handling
  * AUTHOR: Duane Wessels, Kostas Anagnostakis
@@ -547,7 +547,7 @@ printRadixNode(struct squid_radix_node *rn, void *_sentry)
     return 0;
 }
 
-MemPool *ACLASN::Pool(NULL);
+MemPool (*ACLASN::Pool)(NULL);
 void *
 ACLASN::operator new (size_t byteCount)
 {
index efc27dc5f90b92eb43ced85e531bfe1504a123a5..250af3be4e832a29bf38c3fc2db771e139f86f1e 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: auth_digest.cc,v 1.25 2003/07/11 01:40:41 robertc Exp $
+ * $Id: auth_digest.cc,v 1.26 2003/07/14 08:22:01 robertc Exp $
  *
  * DEBUG: section 29    Authenticator
  * AUTHOR: Robert Collins
@@ -1509,7 +1509,7 @@ authenticateDigestStart(auth_user_request_t * auth_user_request, RH * handler, v
 }
 
 
-MemPool *digest_user_h::Pool(NULL);
+MemPool (*digest_user_h::Pool)(NULL);
 void *
 digest_user_h::operator new (size_t byteCount)
 {
@@ -1537,7 +1537,7 @@ digest_user_h::deleteSelf() const
 digest_user_h::digest_user_h () : username (NULL), HA1created (0)
 {}
 
-MemPool *digest_request_h::Pool(NULL);
+MemPool (*digest_request_h::Pool)(NULL);
 void *
 digest_request_h::operator new (size_t byteCount)
 {
index 61589d54d32df3499f6fcf9cf6d3d201b07aef4b..27be1f31aeccefa0d42a031d3faa56364fc52d4a 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: auth_ntlm.cc,v 1.32 2003/07/11 01:40:42 robertc Exp $
+ * $Id: auth_ntlm.cc,v 1.33 2003/07/14 08:21:58 robertc Exp $
  *
  * DEBUG: section 29    NTLM Authenticator
  * AUTHOR: Robert Collins
@@ -1235,7 +1235,7 @@ authenticateNTLMAuthenticateUser(auth_user_request_t * auth_user_request, reques
     return;
 }
 
-MemPool *ntlm_request_t::Pool(NULL);
+MemPool (*ntlm_request_t::Pool)(NULL);
 void *
 ntlm_request_t::operator new (size_t byteCount)
 {
index 46715e7c6f86ecb59f6a0d22a397e27d4a449969..be884aa270877fccca4f884d848b0b6b83534d36 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: cbdata.cc,v 1.56 2003/03/10 04:56:36 robertc Exp $
+ * $Id: cbdata.cc,v 1.57 2003/07/14 08:21:56 robertc Exp $
  *
  * DEBUG: section 45    Callback Data Registry
  * ORIGINAL AUTHOR: Duane Wessels
@@ -111,11 +111,12 @@ void check() const { assert(cookie == ((long)this ^ Cookie));}
 
     size_t dataSize() const { return sizeof(data);}
 
-    static const long Cookie = (long)0xDEADBEEF;
+    static const long Cookie;
     static long MakeOffset();
     static const long Offset;
 };
 
+const long cbdata::Cookie((long)0xDEADBEEF);
 const long cbdata::Offset(MakeOffset());
 
 long
index 18b0e636384c34272d71df3e89d4add319cb7dab..efe8dedde836266c4fab82f414aa8daf8c6f0066 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: comm.cc,v 1.381 2003/07/10 01:31:50 robertc Exp $
+ * $Id: comm.cc,v 1.382 2003/07/14 08:21:56 robertc Exp $
  *
  * DEBUG: section 5     Socket Functions
  * AUTHOR: Harvest Derived
@@ -317,7 +317,7 @@ dlink_list CommCallbackList;
 
 /* New and improved stuff */
 
-MemPool *CommCallbackData::Pool(NULL);
+MemPool (*CommCallbackData::Pool)(NULL);
 void *
 CommCallbackData::operator new (size_t byteCount)
 {
@@ -342,7 +342,7 @@ CommCallbackData::deleteSelf() const
     delete this;
 }
 
-MemPool *CommReadCallbackData::Pool(NULL);
+MemPool (*CommReadCallbackData::Pool)(NULL);
 void *
 CommReadCallbackData::operator new (size_t byteCount)
 {
@@ -367,7 +367,7 @@ CommReadCallbackData::deleteSelf() const
     delete this;
 }
 
-MemPool *CommAcceptCallbackData::Pool(NULL);
+MemPool (*CommAcceptCallbackData::Pool)(NULL);
 void *
 CommAcceptCallbackData::operator new (size_t byteCount)
 {
@@ -392,7 +392,7 @@ CommAcceptCallbackData::deleteSelf() const
     delete this;
 }
 
-MemPool *CommFillCallbackData::Pool(NULL);
+MemPool (*CommFillCallbackData::Pool)(NULL);
 void *
 CommFillCallbackData::operator new (size_t byteCount)
 {
@@ -418,7 +418,7 @@ CommFillCallbackData::deleteSelf() const
 }
 
 
-MemPool *CommWriteCallbackData::Pool(NULL);
+MemPool (*CommWriteCallbackData::Pool)(NULL);
 void *
 CommWriteCallbackData::operator new (size_t byteCount)
 {
index 9e101b36fd98dd0efcc519ed18c158efb67846d3..8c03eacc03b238b1dcd137ced62f07b98941aee7 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: debug.cc,v 1.94 2003/07/11 04:55:40 robertc Exp $
+ * $Id: debug.cc,v 1.95 2003/07/14 08:21:56 robertc Exp $
  *
  * DEBUG: section 0     Debug Routines
  * AUTHOR: Harvest Derived
@@ -537,4 +537,4 @@ Debug::finishDebug() {
     CurrentDebug = NULL;
 }
 
-std::ostringstream *Debug::CurrentDebug = NULL;
+std::ostringstream (*Debug::CurrentDebug)(NULL);
index 662a9af1ba1ab57e6d14149d3291cc4b8bb07b83..84d4cb09928f9a628058f0c1235a034ed7d594c2 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: external_acl.cc,v 1.50 2003/07/13 23:00:09 robertc Exp $
+ * $Id: external_acl.cc,v 1.51 2003/07/14 08:21:56 robertc Exp $
  *
  * DEBUG: section 82    External ACL
  * AUTHOR: Henrik Nordstrom, MARA Systems AB
@@ -1231,7 +1231,7 @@ ACLExternal::ACLExternal (ACLExternal const & old) : data (NULL), class_ (old.cl
     assert (!old.data);
 }
 
-MemPool *ACLExternal::Pool(NULL);
+MemPool (*ACLExternal::Pool)(NULL);
 void *
 ACLExternal::operator new (size_t byteCount)
 {