httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject svn commit: r730432 - in /httpd/httpd/trunk/modules/mem: mod_slotmem.h providers/mod_plainmem.c providers/mod_sharedmem.c
Date Wed, 31 Dec 2008 17:46:48 GMT
Author: jim
Date: Wed Dec 31 09:46:47 2008
New Revision: 730432

URL: http://svn.apache.org/viewvc?rev=730432&view=rev
Log:
be consistant with naming...

Modified:
    httpd/httpd/trunk/modules/mem/mod_slotmem.h
    httpd/httpd/trunk/modules/mem/providers/mod_plainmem.c
    httpd/httpd/trunk/modules/mem/providers/mod_sharedmem.c

Modified: httpd/httpd/trunk/modules/mem/mod_slotmem.h
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/mem/mod_slotmem.h?rev=730432&r1=730431&r2=730432&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/mem/mod_slotmem.h (original)
+++ httpd/httpd/trunk/modules/mem/mod_slotmem.h Wed Dec 31 09:46:47 2008
@@ -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 @@
     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 */
 };
 
 

Modified: httpd/httpd/trunk/modules/mem/providers/mod_plainmem.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/mem/providers/mod_plainmem.c?rev=730432&r1=730431&r2=730432&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/mem/providers/mod_plainmem.c (original)
+++ httpd/httpd/trunk/modules/mem/providers/mod_plainmem.c Wed Dec 31 09:46:47 2008
@@ -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)

Modified: httpd/httpd/trunk/modules/mem/providers/mod_sharedmem.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/mem/providers/mod_sharedmem.c?rev=730432&r1=730431&r2=730432&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/mem/providers/mod_sharedmem.c (original)
+++ httpd/httpd/trunk/modules/mem/providers/mod_sharedmem.c Wed Dec 31 09:46:47 2008
@@ -27,7 +27,7 @@
 };
 
 /* 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;



Mime
View raw message