Changeset 1321 in svn for trunk/xcache.c
- Timestamp:
- 2013-07-15T17:37:57Z (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/xcache.c
r1313 r1321 115 115 /* }}} */ 116 116 /* {{{ PHP_GINIT_FUNCTION(xcache) */ 117 #define xcache_globals xcacheglobals 117 #pragma GCC push_options 118 #pragma GCC diagnostic ignored "-Wshadow" 119 118 120 #ifdef PHP_GINIT_FUNCTION 119 121 static PHP_GINIT_FUNCTION(xcache) 120 122 #else 121 static void xc_init_globals(zend_xcache_globals *xcache_globals TSRMLS_DC) 122 #endif 123 { 123 static void xc_init_globals(zend_xcache_globals* xcache_globals TSRMLS_DC) 124 #endif 125 { 126 #pragma GCC pop_options 127 124 128 memset(xcache_globals, 0, sizeof(zend_xcache_globals)); 125 129 … … 130 134 zend_hash_init_ex(&xcache_globals->internal_class_table, 1, NULL, NULL, 1, 0); 131 135 } 132 #undef xcache_globals133 136 /* }}} */ 134 137 /* {{{ PHP_GSHUTDOWN_FUNCTION(xcache) */ 135 138 static 136 139 #ifdef PHP_GSHUTDOWN_FUNCTION 137 #define xcache_globals xcacheglobals138 140 PHP_GSHUTDOWN_FUNCTION(xcache) 139 141 #else … … 169 171 } 170 172 } 171 #undef xcache_globals172 173 /* }}} */ 173 174 … … 885 886 PHP_GSHUTDOWN(xcache), 886 887 #endif 888 #ifdef ZEND_ENGINE_2 887 889 NULL /* ZEND_MODULE_POST_ZEND_DEACTIVATE_N */, 890 #else 891 NULL, 892 NULL, 893 #endif 888 894 STANDARD_MODULE_PROPERTIES_EX 889 895 };
Note: See TracChangeset
for help on using the changeset viewer.