From: Amos Jeffries Date: Thu, 9 Apr 2009 09:08:32 +0000 (+1200) Subject: Fix some formatting build issues on non-GCC compilers. X-Git-Tag: SQUID_3_1_0_8~67 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ec8e1d687625465b4dacf453e0ee4126fc34d163;p=thirdparty%2Fsquid.git Fix some formatting build issues on non-GCC compilers. Grr, enum lists must not end with ,} --- diff --git a/src/AsyncEngine.h b/src/AsyncEngine.h index 38ea562dae..f0e5edb380 100644 --- a/src/AsyncEngine.h +++ b/src/AsyncEngine.h @@ -57,7 +57,7 @@ public: */ EVENT_IDLE = -1, /* some error has occured in this engine */ - EVENT_ERROR = -2, + EVENT_ERROR = -2 }; virtual ~AsyncEngine() {} diff --git a/src/Store.h b/src/Store.h index 1d6ebf3d46..833d4cc7f8 100644 --- a/src/Store.h +++ b/src/Store.h @@ -264,12 +264,10 @@ public: virtual void diskFull(); /** Retrieve a store entry from the store */ - virtual StoreEntry * get - (const cache_key *) = 0; + virtual StoreEntry * get(const cache_key *) = 0; /** \todo imeplement the async version */ - virtual void get - (String const key , STOREGETCLIENT callback, void *cbdata) = 0; + virtual void get(String const key , STOREGETCLIENT callback, void *cbdata) = 0; /* prepare the store for use. The store need not be usable immediately, * it should respond to readable() and writable() with true as soon diff --git a/src/cbdata.h b/src/cbdata.h index 1ae6492d54..5465196794 100644 --- a/src/cbdata.h +++ b/src/cbdata.h @@ -232,7 +232,7 @@ * are added runtime */ typedef enum { - CBDATA_UNKNOWN = 0, + CBDATA_UNKNOWN = 0 } cbdata_type; /// \ingroup CBDATAAPI diff --git a/src/enums.h b/src/enums.h index bd4399c5b6..1c7e2900b2 100644 --- a/src/enums.h +++ b/src/enums.h @@ -548,7 +548,7 @@ enum { */ typedef enum { HTCP_CLR_PURGE, - HTCP_CLR_INVALIDATION, + HTCP_CLR_INVALIDATION } htcp_clr_reason; #endif