]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Fix some formatting build issues on non-GCC compilers.
authorAmos Jeffries <squid3@treenet.co.nz>
Thu, 9 Apr 2009 09:08:32 +0000 (21:08 +1200)
committerAmos Jeffries <squid3@treenet.co.nz>
Thu, 9 Apr 2009 09:08:32 +0000 (21:08 +1200)
Grr, enum lists must not end with ,}

src/AsyncEngine.h
src/Store.h
src/cbdata.h
src/enums.h

index 38ea562dae57f1e241db53926a76793d28581a49..f0e5edb3802fd10a888f699de540e0986ea8aea7 100644 (file)
@@ -57,7 +57,7 @@ public:
          */
         EVENT_IDLE = -1,
         /* some error has occured in this engine */
-        EVENT_ERROR = -2,
+        EVENT_ERROR = -2
     };
 
     virtual ~AsyncEngine() {}
index 1d6ebf3d464ed1713dad7f829b1c6c2bb9789ac9..833d4cc7f8fd3b2f88e7aaeb9fdbb62763e738ff 100644 (file)
@@ -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
index 1ae6492d5468dd03f71a3cab0c45af7883cbf203..5465196794ed7305bc763098daf5a89d77daf09d 100644 (file)
  * are added runtime
  */
 typedef enum {
-    CBDATA_UNKNOWN = 0,
+    CBDATA_UNKNOWN = 0
 } cbdata_type;
 
 /// \ingroup CBDATAAPI
index bd4399c5b6d3bde9c9128e6b9cd91c756dbb52bb..1c7e2900b285448bf1f2ab53292c3553b701f1a5 100644 (file)
@@ -548,7 +548,7 @@ enum {
  */
 typedef enum {
     HTCP_CLR_PURGE,
-    HTCP_CLR_INVALIDATION,
+    HTCP_CLR_INVALIDATION
 } htcp_clr_reason;
 #endif