summaryrefslogtreecommitdiff
path: root/ext/pdo_mysql
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2015-02-16 17:19:32 +0100
committerAnatol Belski <ab@php.net>2015-02-16 17:19:32 +0100
commitaf3ca74501c5d0be273e47c618d37b8ddcbb5c7f (patch)
tree6ad9fe0b05af39d94aecfa61a45e71b828f86fb9 /ext/pdo_mysql
parent812c0c0337960449c517a74f4feaefb1109a6ff7 (diff)
downloadphp-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/pdo_mysql')
-rw-r--r--ext/pdo_mysql/pdo_mysql.c4
-rw-r--r--ext/pdo_mysql/php_pdo_mysql_int.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/ext/pdo_mysql/pdo_mysql.c b/ext/pdo_mysql/pdo_mysql.c
index f767aff2f7..701137a2a5 100644
--- a/ext/pdo_mysql/pdo_mysql.c
+++ b/ext/pdo_mysql/pdo_mysql.c
@@ -33,7 +33,7 @@
#ifdef COMPILE_DL_PDO_MYSQL
#ifdef ZTS
-ZEND_TSRMLS_CACHE_DEFINE;
+ZEND_TSRMLS_CACHE_DEFINE();
#endif
ZEND_GET_MODULE(pdo_mysql)
#endif
@@ -210,7 +210,7 @@ static PHP_RSHUTDOWN_FUNCTION(pdo_mysql)
static PHP_GINIT_FUNCTION(pdo_mysql)
{
#if defined(COMPILE_DL_PDO_MYSQL) && defined(ZTS)
-ZEND_TSRMLS_CACHE_UPDATE;
+ZEND_TSRMLS_CACHE_UPDATE();
#endif
#ifndef PHP_WIN32
pdo_mysql_globals->default_socket = NULL;
diff --git a/ext/pdo_mysql/php_pdo_mysql_int.h b/ext/pdo_mysql/php_pdo_mysql_int.h
index 5f4dd3b0c6..17bace7882 100644
--- a/ext/pdo_mysql/php_pdo_mysql_int.h
+++ b/ext/pdo_mysql/php_pdo_mysql_int.h
@@ -85,7 +85,7 @@ ZEND_EXTERN_MODULE_GLOBALS(pdo_mysql)
#ifdef ZTS
#define PDO_MYSQL_G(v) ZEND_TSRMG(pdo_mysql_globals_id, zend_pdo_mysql_globals *, v)
# ifdef COMPILE_DL_PDO_MYSQL
-ZEND_TSRMLS_CACHE_EXTERN;
+ZEND_TSRMLS_CACHE_EXTERN();
# endif
#else
#define PDO_MYSQL_G(v) (pdo_mysql_globals.v)