]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
rewriting this varargs/stdargs function this way lets ctags work!
authorwessels <>
Sat, 30 Jan 1999 04:01:54 +0000 (04:01 +0000)
committerwessels <>
Sat, 30 Jan 1999 04:01:54 +0000 (04:01 +0000)
src/store.cc

index 05e705679b5c13e2618161f2c72e28436b738a85..ddc1164bc3e0ec00c666e9fa969d50d5c1e6d26b 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: store.cc,v 1.486 1999/01/21 23:15:40 wessels Exp $
+ * $Id: store.cc,v 1.487 1999/01/29 21:01:54 wessels Exp $
  *
  * DEBUG: section 20    Storage Manager
  * AUTHOR: Harvest Derived
@@ -422,17 +422,18 @@ storeAppend(StoreEntry * e, const char *buf, int len)
 #endif
 }
 
-#if STDC_HEADERS
 void
+#if STDC_HEADERS
 storeAppendPrintf(StoreEntry * e, const char *fmt,...)
-{
-    va_list args;
-    va_start(args, fmt);
 #else
-void
 storeAppendPrintf(va_alist)
      va_dcl
+#endif
 {
+#if STDC_HEADERS
+    va_list args;
+    va_start(args, fmt);
+#else
     va_list args;
     StoreEntry *e = NULL;
     const char *fmt = NULL;