summaryrefslogtreecommitdiff
path: root/sapi/embed
diff options
context:
space:
mode:
authorNikita Popov <nikic@php.net>2016-03-03 16:46:04 +0100
committerNikita Popov <nikic@php.net>2016-03-03 16:50:01 +0100
commit1ac152938cfe40e98b7b3c8cf403abb113266cfa (patch)
treedd2f32f9075d3ca31946c5b9d10a464a07776c3a /sapi/embed
parentc4b188871e7abb7c6cc20d05ceda4cea082efcd2 (diff)
downloadphp-git-1ac152938cfe40e98b7b3c8cf403abb113266cfa.tar.gz
Move semicolon into TSRMLS_CACHE_EXTERN/DEFINE
Also re bug #71575.
Diffstat (limited to 'sapi/embed')
-rw-r--r--sapi/embed/php_embed.c2
-rw-r--r--sapi/embed/php_embed.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/sapi/embed/php_embed.c b/sapi/embed/php_embed.c
index 289dc121df..18c2027271 100644
--- a/sapi/embed/php_embed.c
+++ b/sapi/embed/php_embed.c
@@ -34,7 +34,7 @@ const char HARDCODED_INI[] =
"max_input_time=-1\n\0";
#if defined(PHP_WIN32) && defined(ZTS)
-ZEND_TSRMLS_CACHE_DEFINE();
+ZEND_TSRMLS_CACHE_DEFINE()
#endif
static char* php_embed_read_cookies(void)
diff --git a/sapi/embed/php_embed.h b/sapi/embed/php_embed.h
index cde1fcef8d..92a2f70be7 100644
--- a/sapi/embed/php_embed.h
+++ b/sapi/embed/php_embed.h
@@ -45,7 +45,7 @@
#endif
#ifdef ZTS
-ZEND_TSRMLS_CACHE_EXTERN();
+ZEND_TSRMLS_CACHE_EXTERN()
#endif
BEGIN_EXTERN_C()