From 34338ebd10639fd25edd84dad802f3cf9523091a Mon Sep 17 00:00:00 2001 From: Xuefer Date: Thu, 16 May 2013 06:58:59 +0000 Subject: [PATCH] fix build git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1243 c26eb9a1-5813-0410-bd6c-c2e55f420ca7 --- mod_cacher/xc_cacher.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mod_cacher/xc_cacher.c b/mod_cacher/xc_cacher.c index 999891f..da4d509 100644 --- a/mod_cacher/xc_cacher.c +++ b/mod_cacher/xc_cacher.c @@ -101,8 +101,8 @@ typedef struct { /* {{{ xc_cache_t: only cache info, not in shm */ int cacheid; xc_hash_t *hcache; /* hash to cacheid */ - struct _xc_lock_t *lck; - struct _xc_shm_t *shm; /* which shm contains us */ + xc_lock_t *lck; + xc_shm_t *shm; /* which shm contains us */ xc_allocator_t *allocator; xc_hash_t *hentry; /* hash settings to entry */ @@ -2685,9 +2685,9 @@ err: /* }}} */ static void xc_destroy() /* {{{ */ { + xc_shm_t *shm = NULL; TSRMLS_FETCH(); - xc_shm_t *shm = NULL; if (old_compile_file && zend_compile_file == xc_compile_file) { zend_compile_file = old_compile_file; old_compile_file = NULL;