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/pgsql | |
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/pgsql')
-rw-r--r-- | ext/pgsql/pgsql.c | 4 | ||||
-rw-r--r-- | ext/pgsql/php_pgsql.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/ext/pgsql/pgsql.c b/ext/pgsql/pgsql.c index e27bd22eca..f0e4532237 100644 --- a/ext/pgsql/pgsql.c +++ b/ext/pgsql/pgsql.c @@ -773,7 +773,7 @@ zend_module_entry pgsql_module_entry = { #ifdef COMPILE_DL_PGSQL #ifdef ZTS -ZEND_TSRMLS_CACHE_DEFINE; +ZEND_TSRMLS_CACHE_DEFINE(); #endif ZEND_GET_MODULE(pgsql) #endif @@ -1093,7 +1093,7 @@ PHP_INI_END() static PHP_GINIT_FUNCTION(pgsql) { #if defined(COMPILE_DL_PGSQL) && defined(ZTS) - ZEND_TSRMLS_CACHE_UPDATE; + ZEND_TSRMLS_CACHE_UPDATE(); #endif memset(pgsql_globals, 0, sizeof(zend_pgsql_globals)); /* Initilize notice message hash at MINIT only */ diff --git a/ext/pgsql/php_pgsql.h b/ext/pgsql/php_pgsql.h index cde0154a72..3e5fcbe851 100644 --- a/ext/pgsql/php_pgsql.h +++ b/ext/pgsql/php_pgsql.h @@ -324,7 +324,7 @@ ZEND_EXTERN_MODULE_GLOBALS(pgsql) #ifdef ZTS # define PGG(v) ZEND_TSRMG(pgsql_globals_id, zend_pgsql_globals *, v) # ifdef COMPILE_DL_PGSQL -ZEND_TSRMLS_CACHE_EXTERN; +ZEND_TSRMLS_CACHE_EXTERN(); # endif #else # define PGG(v) (pgsql_globals.v) |