summaryrefslogtreecommitdiff
path: root/ext/exif
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/exif
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/exif')
-rw-r--r--ext/exif/exif.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/exif/exif.c b/ext/exif/exif.c
index 0e25a05cf2..8bdc0c8f27 100644
--- a/ext/exif/exif.c
+++ b/ext/exif/exif.c
@@ -158,7 +158,7 @@ ZEND_DECLARE_MODULE_GLOBALS(exif)
#ifdef ZTS
#define EXIF_G(v) ZEND_TSRMG(exif_globals_id, zend_exif_globals *, v)
#ifdef COMPILE_DL_EXIF
-ZEND_TSRMLS_CACHE_DEFINE;
+ZEND_TSRMLS_CACHE_DEFINE();
#endif
#else
#define EXIF_G(v) (exif_globals.v)
@@ -212,7 +212,7 @@ PHP_INI_END()
static PHP_GINIT_FUNCTION(exif)
{
#if defined(COMPILE_DL_EXIF) && defined(ZTS)
- ZEND_TSRMLS_CACHE_UPDATE;
+ ZEND_TSRMLS_CACHE_UPDATE();
#endif
exif_globals->encode_unicode = NULL;
exif_globals->decode_unicode_be = NULL;