summaryrefslogtreecommitdiff
path: root/ext/zip/php_zip.c
diff options
context:
space:
mode:
authorGreg Beaver <cellog@php.net>2008-01-13 06:24:27 +0000
committerGreg Beaver <cellog@php.net>2008-01-13 06:24:27 +0000
commitf9066b0e497e8a4731977c52d08251304c69b41e (patch)
tree4169dc8a2377582e5c716072a6ae70dd29591721 /ext/zip/php_zip.c
parentf6c466a7490da30ea0b684239460001d869e3430 (diff)
downloadphp-git-f9066b0e497e8a4731977c52d08251304c69b41e.tar.gz
MFB: a few fixes: overwrote all my careful work in zipint_alias.h with zipint.h, so had to restore that.
PHP_RAW_NAMED_FE() won't work, have to use ZEND_RAW_FENTRY
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 c922f2f766..ff9e95abe6 100644
--- a/ext/zip/php_zip.c
+++ b/ext/zip/php_zip.c
@@ -274,9 +274,9 @@ static char * php_zipobj_get_zip_comment(struct zip *za, int *len TSRMLS_DC) /*
/* {{{ zend_function_entry */
static const zend_function_entry zip_functions[] = {
- PHP_RAW_NAMED_FE("zip_open", zif_zip_open, NULL)
- PHP_RAW_NAMED_FE("zip_close", zif_zip_close, NULL)
- PHP_RAW_NAMED_FE("zip_read", zif_zip_read, NULL)
+ ZEND_RAW_FENTRY("zip_open", zif_zip_open, NULL, 0)
+ ZEND_RAW_FENTRY("zip_close", zif_zip_close, NULL, 0)
+ ZEND_RAW_FENTRY("zip_read", zif_zip_read, NULL, 0)
PHP_FE(zip_entry_open, NULL)
PHP_FE(zip_entry_close, NULL)
PHP_FE(zip_entry_read, NULL)