You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by tr...@apache.org on 2010/03/03 20:32:58 UTC
svn commit: r918655 - in /httpd/httpd/trunk/modules/cache: mod_socache_dbm.c
mod_socache_dc.c mod_socache_memcache.c mod_socache_shmcb.c
Author: trawick
Date: Wed Mar 3 19:32:58 2010
New Revision: 918655
URL: http://svn.apache.org/viewvc?rev=918655&view=rev
Log:
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’
Modified:
httpd/httpd/trunk/modules/cache/mod_socache_dbm.c
httpd/httpd/trunk/modules/cache/mod_socache_dc.c
httpd/httpd/trunk/modules/cache/mod_socache_memcache.c
httpd/httpd/trunk/modules/cache/mod_socache_shmcb.c
Modified: httpd/httpd/trunk/modules/cache/mod_socache_dbm.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/cache/mod_socache_dbm.c?rev=918655&r1=918654&r2=918655&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/cache/mod_socache_dbm.c (original)
+++ httpd/httpd/trunk/modules/cache/mod_socache_dbm.c Wed Mar 3 19:32:58 2010
@@ -502,10 +502,10 @@
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;
}
Modified: httpd/httpd/trunk/modules/cache/mod_socache_dc.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/cache/mod_socache_dc.c?rev=918655&r1=918654&r2=918655&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/cache/mod_socache_dc.c (original)
+++ httpd/httpd/trunk/modules/cache/mod_socache_dc.c Wed Mar 3 19:32:58 2010
@@ -154,10 +154,10 @@
" 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;
}
Modified: httpd/httpd/trunk/modules/cache/mod_socache_memcache.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/cache/mod_socache_memcache.c?rev=918655&r1=918654&r2=918655&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/cache/mod_socache_memcache.c (original)
+++ httpd/httpd/trunk/modules/cache/mod_socache_memcache.c Wed Mar 3 19:32:58 2010
@@ -287,10 +287,10 @@
/* 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;
}
Modified: httpd/httpd/trunk/modules/cache/mod_socache_shmcb.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/cache/mod_socache_shmcb.c?rev=918655&r1=918654&r2=918655&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/cache/mod_socache_shmcb.c (original)
+++ httpd/httpd/trunk/modules/cache/mod_socache_shmcb.c Wed Mar 3 19:32:58 2010
@@ -622,10 +622,10 @@
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;