summaryrefslogtreecommitdiff
path: root/ext/zip/php_zip.c
diff options
context:
space:
mode:
authorGreg Beaver <cellog@php.net>2008-01-13 06:22:27 +0000
committerGreg Beaver <cellog@php.net>2008-01-13 06:22:27 +0000
commitccc0d6e32b60e7870fea58bd46935e81c91b1154 (patch)
treeab27359b58850a14ca20449b139727e5ae9512b8 /ext/zip/php_zip.c
parentc896933b7c498a0c2c1a575963327d0116940a32 (diff)
downloadphp-git-ccc0d6e32b60e7870fea58bd46935e81c91b1154.tar.gz
a few fixes: overwrite 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 5ff8a2e85b..b75c6e1074 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)