From: wessels <> Date: Sat, 30 Jan 1999 04:01:54 +0000 (+0000) Subject: rewriting this varargs/stdargs function this way lets ctags work! X-Git-Tag: SQUID_3_0_PRE1~2328 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=62d3280537a9ba04173955cdae1703757326bcfb;p=thirdparty%2Fsquid.git rewriting this varargs/stdargs function this way lets ctags work! --- diff --git a/src/store.cc b/src/store.cc index 05e705679b..ddc1164bc3 100644 --- a/src/store.cc +++ b/src/store.cc @@ -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;