diff options
author | Anatol Belski <ab@php.net> | 2015-02-16 17:19:32 +0100 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2015-02-16 17:19:32 +0100 |
commit | af3ca74501c5d0be273e47c618d37b8ddcbb5c7f (patch) | |
tree | 6ad9fe0b05af39d94aecfa61a45e71b828f86fb9 /sapi/apache2handler/sapi_apache2.c | |
parent | 812c0c0337960449c517a74f4feaefb1109a6ff7 (diff) | |
download | php-git-af3ca74501c5d0be273e47c618d37b8ddcbb5c7f.tar.gz |
made ZEND_TSRMLS_CACHE_* macros look like function calls
which also comply with the current semantics for such macros
Diffstat (limited to 'sapi/apache2handler/sapi_apache2.c')
-rw-r--r-- | sapi/apache2handler/sapi_apache2.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sapi/apache2handler/sapi_apache2.c b/sapi/apache2handler/sapi_apache2.c index 4361b78d33..ed4c9f30df 100644 --- a/sapi/apache2handler/sapi_apache2.c +++ b/sapi/apache2handler/sapi_apache2.c @@ -72,7 +72,7 @@ /* A way to specify the location of the php.ini dir in an apache directive */ char *apache2_php_ini_path_override = NULL; #if defined(PHP_WIN32) && defined(ZTS) -ZEND_TSRMLS_CACHE_DEFINE; +ZEND_TSRMLS_CACHE_DEFINE(); #endif static size_t @@ -459,7 +459,7 @@ php_apache_server_startup(apr_pool_t *pconf, apr_pool_t *plog, apr_pool_t *ptemp #ifdef ZTS tsrm_startup(1, 1, 0, NULL); (void)ts_resource(0); - ZEND_TSRMLS_CACHE_UPDATE; + ZEND_TSRMLS_CACHE_UPDATE(); #endif sapi_startup(&apache2_sapi_module); apache2_sapi_module.startup(&apache2_sapi_module); @@ -552,7 +552,7 @@ static int php_handler(request_rec *r) #ifdef ZTS /* initial resource fetch */ (void)ts_resource(0); - ZEND_TSRMLS_CACHE_UPDATE; + ZEND_TSRMLS_CACHE_UPDATE(); #endif #define PHPAP_INI_OFF php_apache_ini_dtor(r, parent_req); |