]> granicus.if.org Git - apache/commitdiff
Make it compile on pre-C99 compilers
authorMartin Kraemer <martin@apache.org>
Fri, 18 Apr 2008 10:06:20 +0000 (10:06 +0000)
committerMartin Kraemer <martin@apache.org>
Fri, 18 Apr 2008 10:06:20 +0000 (10:06 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@649446 13f79535-47bb-0310-9956-ffa450edef68

modules/cache/cache_util.c

index abff9f5a260c13be9b0140edd663f61fe8efe1c1..615823a1e68dda06eb158e8b902506c7bcf18630 100644 (file)
@@ -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");