summaryrefslogtreecommitdiff
path: root/ext/zip/php_zip.c
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2015-08-02 13:42:01 +0200
committerAnatol Belski <ab@php.net>2015-08-02 13:42:01 +0200
commit545b364d560b9550f853bd8dd5ab1641225a03c2 (patch)
treefe9dbef7d22f414dd94676df23cd0b869e9890e2 /ext/zip/php_zip.c
parent8c4bbf0f47cc5050196042f4c4b473ee4b9badb7 (diff)
downloadphp-git-545b364d560b9550f853bd8dd5ab1641225a03c2.tar.gz
remove TSRMLS_*
either remains or merged in from PHP5
Diffstat (limited to 'ext/zip/php_zip.c')
-rw-r--r--ext/zip/php_zip.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/zip/php_zip.c b/ext/zip/php_zip.c
index 85bc51f152..672097dec5 100644
--- a/ext/zip/php_zip.c
+++ b/ext/zip/php_zip.c
@@ -2292,13 +2292,13 @@ static ZIPARCHIVE_METHOD(setCompressionName)
ZIP_FROM_OBJECT(intern, this);
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sl|l",
+ if (zend_parse_parameters(ZEND_NUM_ARGS(), "sl|l",
&name, &name_len, &comp_method, &comp_flags) == FAILURE) {
return;
}
if (name_len < 1) {
- php_error_docref(NULL TSRMLS_CC, E_NOTICE, "Empty string as entry name");
+ php_error_docref(NULL, E_NOTICE, "Empty string as entry name");
}
idx = zip_name_locate(intern, name, 0);
@@ -2329,7 +2329,7 @@ static ZIPARCHIVE_METHOD(setCompressionIndex)
ZIP_FROM_OBJECT(intern, this);
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ll|l",
+ if (zend_parse_parameters(ZEND_NUM_ARGS(), "ll|l",
&index, &comp_method, &comp_flags) == FAILURE) {
return;
}