]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
be consistant with naming...
authorJim Jagielski <jim@apache.org>
Wed, 31 Dec 2008 17:46:47 +0000 (17:46 +0000)
committerJim Jagielski <jim@apache.org>
Wed, 31 Dec 2008 17:46:47 +0000 (17:46 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@730432 13f79535-47bb-0310-9956-ffa450edef68

modules/mem/mod_slotmem.h
modules/mem/providers/mod_plainmem.c
modules/mem/providers/mod_sharedmem.c

index 5251fe154159bc04e8a662c984aeb01175945952..3b1ac338c1dbca4baf8d28f8fb2510f1cb124ecb 100644 (file)
@@ -50,9 +50,9 @@
 
 #define SLOTMEM_STORAGE "slotmem"
 
-typedef struct ap_slotmem ap_slotmem_t;
+typedef struct ap_slotmem_t ap_slotmem_t;
 
-struct ap_slotmem {
+struct ap_slotmem_t {
     char                 *name;       /* per segment name */
     void                 *shm;        /* ptr to memory segment (apr_shm_t *) */
     void                 *base;       /* data set start */
@@ -61,7 +61,7 @@ struct ap_slotmem {
     apr_pool_t           *gpool;      /* per segment global pool */
     apr_global_mutex_t   *smutex;     /* mutex */
     void                 *context;    /* general purpose storage */
-    struct ap_slotmem    *next;       /* location of next allocated segment */
+    struct ap_slotmem_t  *next;       /* location of next allocated segment */
 };
 
 
index d9177d3e1f0d6450b2a9ffbb476a18562e5b7b9f..ae2380439442b0d72a3e4300cc6b0947b5c290de 100644 (file)
@@ -21,7 +21,7 @@
 #include  "mod_slotmem.h"
 
 /* global pool and list of slotmem we are handling */
-static struct ap_slotmem *globallistmem = NULL;
+static struct ap_slotmem_t *globallistmem = NULL;
 static apr_pool_t *gpool = NULL;
 
 static apr_status_t slotmem_do(ap_slotmem_t *mem, ap_slotmem_callback_fn_t *func, void *data, apr_pool_t *pool)
index 9a578aac13d23243dced5e3c60f96be5c40be41f..26015e2391dc57f107805aac922530efbb1a14bc 100644 (file)
@@ -27,7 +27,7 @@ struct sharedslotdesc {
 };
 
 /* global pool and list of slotmem we are handling */
-static struct ap_slotmem *globallistmem = NULL;
+static struct ap_slotmem_t *globallistmem = NULL;
 static apr_pool_t *gpool = NULL;
 static apr_global_mutex_t *smutex;
 static const char *mutex_fname;