From 2052575a3687d48d19ef79a9e7bfa1f764c388a0 Mon Sep 17 00:00:00 2001 From: Jeff Trawick Date: Wed, 3 Mar 2010 19:32:58 +0000 Subject: fix these warnings (and presumably a similar one in mod_socache_dc.c): MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit mod_socache_shmcb.c:625: warning: no previous prototype for ‘socache_shmcb_iterate’ mod_socache_dbm.c:505: warning: no previous prototype for ‘socache_dbm_iterate’ mod_socache_memcache.c:290: warning: no previous prototype for ‘socache_mc_iterate’ git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@918655 13f79535-47bb-0310-9956-ffa450edef68 --- modules/cache/mod_socache_shmcb.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'modules/cache/mod_socache_shmcb.c') diff --git a/modules/cache/mod_socache_shmcb.c b/modules/cache/mod_socache_shmcb.c index 301b95965a..5b8506e94f 100644 --- a/modules/cache/mod_socache_shmcb.c +++ b/modules/cache/mod_socache_shmcb.c @@ -622,10 +622,10 @@ static void socache_shmcb_status(ap_socache_instance_t *ctx, ap_log_rerror(APLOG_MARK, APLOG_DEBUG, 0, r, "leaving shmcb_status"); } -apr_status_t socache_shmcb_iterate(ap_socache_instance_t *instance, - server_rec *s, - ap_socache_iterator_t *iterator, - apr_pool_t *pool) +static apr_status_t socache_shmcb_iterate(ap_socache_instance_t *instance, + server_rec *s, + ap_socache_iterator_t *iterator, + apr_pool_t *pool) { SHMCBHeader *header = instance->header; unsigned int loop; -- cgit v1.2.3