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
return;
}
-apr_status_t socache_dbm_iterate(ap_socache_instance_t *instance,
- server_rec *s,
- ap_socache_iterator_t *iterator,
- apr_pool_t *pool)
+static apr_status_t socache_dbm_iterate(ap_socache_instance_t *instance,
+ server_rec *s,
+ ap_socache_iterator_t *iterator,
+ apr_pool_t *pool)
{
return APR_ENOTIMPL;
}
" target: <b>%s</b><br>", ctx->target);
}
-apr_status_t socache_dc_iterate(ap_socache_instance_t *instance,
- server_rec *s,
- ap_socache_iterator_t *iterator,
- apr_pool_t *pool)
+static apr_status_t socache_dc_iterate(ap_socache_instance_t *instance,
+ server_rec *s,
+ ap_socache_iterator_t *iterator,
+ apr_pool_t *pool)
{
return APR_ENOTIMPL;
}
/* TODO: Make a mod_status handler. meh. */
}
-apr_status_t socache_mc_iterate(ap_socache_instance_t *instance,
- server_rec *s,
- ap_socache_iterator_t *iterator,
- apr_pool_t *pool)
+static apr_status_t socache_mc_iterate(ap_socache_instance_t *instance,
+ server_rec *s,
+ ap_socache_iterator_t *iterator,
+ apr_pool_t *pool)
{
return APR_ENOTIMPL;
}
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;