From: Amos Jeffries Date: Fri, 10 Apr 2009 07:45:02 +0000 (+1200) Subject: Fix some formatting build issues on non-GCC compilers. X-Git-Tag: SQUID_3_0_STABLE14~13 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9052be97b95adae739cd9b67ef8f3e575776051f;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 c41fd9ad53..373bf7b95e 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 eedc311d8a..be5b3bc2ed 100644 --- a/src/Store.h +++ b/src/Store.h @@ -253,12 +253,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; + /* TODO: implement the async version */ + 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 1d6ab14810..2d7df90355 100644 --- a/src/cbdata.h +++ b/src/cbdata.h @@ -44,7 +44,7 @@ * are added runtime */ typedef enum { - CBDATA_UNKNOWN = 0, + CBDATA_UNKNOWN = 0 } cbdata_type; extern void cbdataRegisterWithCacheManager(CacheManager & manager);