From: Martin Kraemer Date: Fri, 18 Apr 2008 10:06:20 +0000 (+0000) Subject: Make it compile on pre-C99 compilers X-Git-Tag: 2.3.0~697 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a9091bba7f3b6f7ed3585f020f43f73e930efc2b;p=thirdparty%2Fapache%2Fhttpd.git Make it compile on pre-C99 compilers git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@649446 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/cache/cache_util.c b/modules/cache/cache_util.c index abff9f5a260..615823a1e68 100644 --- a/modules/cache/cache_util.c +++ b/modules/cache/cache_util.c @@ -588,6 +588,7 @@ CACHE_DECLARE(apr_table_t *)ap_cache_cacheable_headers(apr_pool_t *pool, cache_server_conf *conf; char **header; int i; + apr_table_t *headers_out; /* Short circuit the common case that there are not * (yet) any headers populated. @@ -600,7 +601,6 @@ CACHE_DECLARE(apr_table_t *)ap_cache_cacheable_headers(apr_pool_t *pool, * the copy any hop-by-hop headers, as defined in Section * 13.5.1 of RFC 2616 */ - apr_table_t *headers_out; headers_out = apr_table_copy(pool, t); apr_table_unset(headers_out, "Connection");