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/bcmath | |
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/bcmath')
-rw-r--r-- | ext/bcmath/bcmath.c | 4 | ||||
-rw-r--r-- | ext/bcmath/php_bcmath.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/ext/bcmath/bcmath.c b/ext/bcmath/bcmath.c index 31f6537614..14586f6cf3 100644 --- a/ext/bcmath/bcmath.c +++ b/ext/bcmath/bcmath.c @@ -128,7 +128,7 @@ zend_module_entry bcmath_module_entry = { #ifdef COMPILE_DL_BCMATH #ifdef ZTS -ZEND_TSRMLS_CACHE_DEFINE; +ZEND_TSRMLS_CACHE_DEFINE(); #endif ZEND_GET_MODULE(bcmath) #endif @@ -144,7 +144,7 @@ PHP_INI_END() static PHP_GINIT_FUNCTION(bcmath) { #if defined(COMPILE_DL_BCMATH) && defined(ZTS) - ZEND_TSRMLS_CACHE_UPDATE; + ZEND_TSRMLS_CACHE_UPDATE(); #endif bcmath_globals->bc_precision = 0; bc_init_numbers(); diff --git a/ext/bcmath/php_bcmath.h b/ext/bcmath/php_bcmath.h index 864737c4d0..eab199f5fc 100644 --- a/ext/bcmath/php_bcmath.h +++ b/ext/bcmath/php_bcmath.h @@ -51,7 +51,7 @@ ZEND_END_MODULE_GLOBALS(bcmath) #ifdef ZTS # define BCG(v) ZEND_TSRMG(bcmath_globals_id, zend_bcmath_globals *, v) # ifdef COMPILE_DL_BCMATH -ZEND_TSRMLS_CACHE_EXTERN; +ZEND_TSRMLS_CACHE_EXTERN(); # endif #else # define BCG(v) (bcmath_globals.v) |