]> granicus.if.org Git - apache/commitdiff
Align "hidden" function names with external... picky, but
authorJim Jagielski <jim@apache.org>
Tue, 16 Mar 2010 15:01:55 +0000 (15:01 +0000)
committerJim Jagielski <jim@apache.org>
Tue, 16 Mar 2010 15:01:55 +0000 (15:01 +0000)
less confusing

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@923791 13f79535-47bb-0310-9956-ffa450edef68

modules/cache/mod_socache_dbm.c
modules/cache/mod_socache_dc.c
modules/cache/mod_socache_memcache.c
modules/cache/mod_socache_shmcb.c

index 1f8a04fd195850f30deb7de55b7ad917fac40442..2566074a08220ab0427859a56d68ce6272db229f 100644 (file)
@@ -167,7 +167,7 @@ static apr_status_t socache_dbm_init(ap_socache_instance_t *ctx,
     return APR_SUCCESS;
 }
 
-static void socache_dbm_kill(ap_socache_instance_t *ctx, server_rec *s)
+static void socache_dbm_destroy(ap_socache_instance_t *ctx, server_rec *s)
 {
     /* the correct way */
     unlink(apr_pstrcat(ctx->pool, ctx->data_file, DBM_FILE_SUFFIX_DIR, NULL));
@@ -515,7 +515,7 @@ static const ap_socache_provider_t socache_dbm = {
     AP_SOCACHE_FLAG_NOTMPSAFE,
     socache_dbm_create,
     socache_dbm_init,
-    socache_dbm_kill,
+    socache_dbm_destroy,
     socache_dbm_store,
     socache_dbm_retrieve,
     socache_dbm_remove,
index 9b7edcce85a64e0190148094a3e042db9293abd1..7982d69727d2914db644ed40802e150610312aa3 100644 (file)
@@ -82,7 +82,7 @@ static apr_status_t socache_dc_init(ap_socache_instance_t *ctx,
     return APR_SUCCESS;
 }
 
-static void socache_dc_kill(ap_socache_instance_t *ctx, server_rec *s)
+static void socache_dc_destroy(ap_socache_instance_t *ctx, server_rec *s)
 {
     if (ctx && ctx->dc) {
         DC_CTX_free(ctx->dc);
@@ -167,7 +167,7 @@ static const ap_socache_provider_t socache_dc = {
     0,
     socache_dc_create,
     socache_dc_init,
-    socache_dc_kill,
+    socache_dc_destroy,
     socache_dc_store,
     socache_dc_retrieve,
     socache_dc_remove,
index 4f910be58f28f0616148d020dfa3deff1ed2a516..349a786cc2b9acb51c70ee160b71396414c36cb3 100644 (file)
@@ -169,7 +169,7 @@ static apr_status_t socache_mc_init(ap_socache_instance_t *ctx,
     return APR_SUCCESS;
 }
 
-static void socache_mc_kill(ap_socache_instance_t *context, server_rec *s)
+static void socache_mc_destroy(ap_socache_instance_t *context, server_rec *s)
 {
     /* noop. */
 }
@@ -300,7 +300,7 @@ static const ap_socache_provider_t socache_mc = {
     0,
     socache_mc_create,
     socache_mc_init,
-    socache_mc_kill,
+    socache_mc_destroy,
     socache_mc_store,
     socache_mc_retrieve,
     socache_mc_remove,
index 5b8506e94fc98e88efad427f9ea829b05216da79..1523cbb0c12e42d63dd0df07951effc04f28cec4 100644 (file)
@@ -455,7 +455,7 @@ static apr_status_t socache_shmcb_init(ap_socache_instance_t *ctx,
     return APR_SUCCESS;
 }
 
-static void socache_shmcb_kill(ap_socache_instance_t *ctx, server_rec *s)
+static void socache_shmcb_destroy(ap_socache_instance_t *ctx, server_rec *s)
 {
     if (ctx && ctx->shm) {
         apr_shm_destroy(ctx->shm);
@@ -977,7 +977,7 @@ static const ap_socache_provider_t socache_shmcb = {
     AP_SOCACHE_FLAG_NOTMPSAFE,
     socache_shmcb_create,
     socache_shmcb_init,
-    socache_shmcb_kill,
+    socache_shmcb_destroy,
     socache_shmcb_store,
     socache_shmcb_retrieve,
     socache_shmcb_remove,