diff options
Diffstat (limited to 'ext/tidy')
-rw-r--r-- | ext/tidy/php_tidy.h | 2 | ||||
-rw-r--r-- | ext/tidy/tidy.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/ext/tidy/php_tidy.h b/ext/tidy/php_tidy.h index 53c0837168..8f4ecf8750 100644 --- a/ext/tidy/php_tidy.h +++ b/ext/tidy/php_tidy.h @@ -42,7 +42,7 @@ ZEND_END_MODULE_GLOBALS(tidy) #ifdef ZTS #define TG(v) ZEND_TSRMG(tidy_globals_id, zend_tidy_globals *, v) #ifdef COMPILE_DL_TIDY -ZEND_TSRMLS_CACHE_EXTERN; +ZEND_TSRMLS_CACHE_EXTERN(); #endif #else #define TG(v) (tidy_globals.v) diff --git a/ext/tidy/tidy.c b/ext/tidy/tidy.c index 5eccbedc32..5985957990 100644 --- a/ext/tidy/tidy.c +++ b/ext/tidy/tidy.c @@ -468,7 +468,7 @@ zend_module_entry tidy_module_entry = { #ifdef COMPILE_DL_TIDY #ifdef ZTS -ZEND_TSRMLS_CACHE_DEFINE; +ZEND_TSRMLS_CACHE_DEFINE(); #endif ZEND_GET_MODULE(tidy) #endif @@ -1058,7 +1058,7 @@ static PHP_MINIT_FUNCTION(tidy) static PHP_RINIT_FUNCTION(tidy) { #if defined(COMPILE_DL_TIDY) && defined(ZTS) - ZEND_TSRMLS_CACHE_UPDATE; + ZEND_TSRMLS_CACHE_UPDATE(); #endif php_tidy_clean_output_start(ZEND_STRL("ob_tidyhandler")); |