]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Fix some formatting build issues on non-GCC compilers.
authorAmos Jeffries <squid3@treenet.co.nz>
Fri, 10 Apr 2009 07:45:02 +0000 (19:45 +1200)
committerAmos Jeffries <squid3@treenet.co.nz>
Fri, 10 Apr 2009 07:45:02 +0000 (19:45 +1200)
Grr, enum lists must not end with ,}

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

index c41fd9ad5314098edddc885d1bf038c608a07c6e..373bf7b95ee30eb81d65f53c30e3794d4b45dd82 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 eedc311d8a7388382e7b4d6f1426d72adfe70c05..be5b3bc2ed15f7ec039044ba37fb7c5eb70f8220 100644 (file)
@@ -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
index 1d6ab14810ecd16fcc1af31154208e4170470758..2d7df90355efb31482f9b2192a6cfa6a9a1a2c53 100644 (file)
@@ -44,7 +44,7 @@
  * are added runtime
  */
 typedef enum {
-    CBDATA_UNKNOWN = 0,
+    CBDATA_UNKNOWN = 0
 } cbdata_type;
 
 extern void cbdataRegisterWithCacheManager(CacheManager & manager);