summaryrefslogtreecommitdiff
path: root/ext/libxml/libxml.c
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/libxml/libxml.c
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/libxml/libxml.c')
-rw-r--r--ext/libxml/libxml.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/libxml/libxml.c b/ext/libxml/libxml.c
index e8e84fc7a5..0eee3ff2bd 100644
--- a/ext/libxml/libxml.c
+++ b/ext/libxml/libxml.c
@@ -80,7 +80,7 @@ static zend_class_entry *libxmlerror_class_entry;
/* {{{ dynamically loadable module stuff */
#ifdef COMPILE_DL_LIBXML
#ifdef ZTS
-ZEND_TSRMLS_CACHE_DEFINE;
+ZEND_TSRMLS_CACHE_DEFINE();
#endif
ZEND_GET_MODULE(libxml)
#endif /* COMPILE_DL_LIBXML */
@@ -272,7 +272,7 @@ static void php_libxml_node_free_list(xmlNodePtr node)
static PHP_GINIT_FUNCTION(libxml)
{
#if defined(COMPILE_DL_LIBXML) && defined(ZTS)
- ZEND_TSRMLS_CACHE_UPDATE;
+ ZEND_TSRMLS_CACHE_UPDATE();
#endif
ZVAL_UNDEF(&libxml_globals->stream_context);
libxml_globals->error_buffer.s = NULL;