diff options
author | Jeff Trawick <trawick@apache.org> | 2010-03-03 20:32:58 +0100 |
---|---|---|
committer | Jeff Trawick <trawick@apache.org> | 2010-03-03 20:32:58 +0100 |
commit | 2052575a3687d48d19ef79a9e7bfa1f764c388a0 (patch) | |
tree | 262704531fbb2a018b88701e69e618ae328cea3f /modules/cache/mod_socache_shmcb.c | |
parent | fix this warning: (diff) | |
download | apache2-2052575a3687d48d19ef79a9e7bfa1f764c388a0.tar.xz apache2-2052575a3687d48d19ef79a9e7bfa1f764c388a0.zip |
fix these warnings (and presumably a similar one in mod_socache_dc.c):
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
Diffstat (limited to '')
-rw-r--r-- | modules/cache/mod_socache_shmcb.c | 8 |
1 files changed, 4 insertions, 4 deletions
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; |