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/mbstring | |
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/mbstring')
-rw-r--r-- | ext/mbstring/mbstring.c | 4 | ||||
-rw-r--r-- | ext/mbstring/mbstring.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/ext/mbstring/mbstring.c b/ext/mbstring/mbstring.c index 504a5e697f..20bca129ff 100644 --- a/ext/mbstring/mbstring.c +++ b/ext/mbstring/mbstring.c @@ -598,7 +598,7 @@ static sapi_post_entry php_post_entries[] = { #ifdef COMPILE_DL_MBSTRING #ifdef ZTS -ZEND_TSRMLS_CACHE_DEFINE; +ZEND_TSRMLS_CACHE_DEFINE(); #endif ZEND_GET_MODULE(mbstring) #endif @@ -1495,7 +1495,7 @@ PHP_INI_END() static PHP_GINIT_FUNCTION(mbstring) { #if defined(COMPILE_DL_MBSTRING) && defined(ZTS) -ZEND_TSRMLS_CACHE_UPDATE; +ZEND_TSRMLS_CACHE_UPDATE(); #endif mbstring_globals->language = mbfl_no_language_uni; diff --git a/ext/mbstring/mbstring.h b/ext/mbstring/mbstring.h index 1b5956d73e..9685c64d7b 100644 --- a/ext/mbstring/mbstring.h +++ b/ext/mbstring/mbstring.h @@ -201,7 +201,7 @@ struct mb_overload_def { #ifdef ZTS #define MBSTRG(v) ZEND_TSRMG(mbstring_globals_id, zend_mbstring_globals *, v) -ZEND_TSRMLS_CACHE_EXTERN; +ZEND_TSRMLS_CACHE_EXTERN(); #else #define MBSTRG(v) (mbstring_globals.v) #endif |