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 /ext/json/json.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 'ext/json/json.c')
-rw-r--r-- | ext/json/json.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/json/json.c b/ext/json/json.c index b40cb695d7..1caef65013 100644 --- a/ext/json/json.c +++ b/ext/json/json.c @@ -134,7 +134,7 @@ static PHP_MINIT_FUNCTION(json) static PHP_GINIT_FUNCTION(json) { #if defined(COMPILE_DL_JSON) && defined(ZTS) - ZEND_TSRMLS_CACHE_UPDATE; + ZEND_TSRMLS_CACHE_UPDATE(); #endif json_globals->encoder_depth = 0; json_globals->error_code = 0; @@ -165,7 +165,7 @@ zend_module_entry json_module_entry = { #ifdef COMPILE_DL_JSON #ifdef ZTS -ZEND_TSRMLS_CACHE_DEFINE; +ZEND_TSRMLS_CACHE_DEFINE(); #endif ZEND_GET_MODULE(json) #endif |