From 6fb114f1d5a6013ef7cde20e296a228ead10aabd Mon Sep 17 00:00:00 2001 From: Pierre Joye Date: Fri, 8 Aug 2008 16:05:38 +0000 Subject: - MFH: constify zend_function_entry and update phpinfo --- ext/zip/php_zip.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ext/zip/php_zip.c') diff --git a/ext/zip/php_zip.c b/ext/zip/php_zip.c index 5fb0a253e3..79ac46df2b 100644 --- a/ext/zip/php_zip.c +++ b/ext/zip/php_zip.c @@ -2482,7 +2482,7 @@ static ZIPARCHIVE_METHOD(getStream) /* }}} */ /* {{{ ze_zip_object_class_functions */ -static zend_function_entry zip_class_functions[] = { +static const zend_function_entry zip_class_functions[] = { ZIPARCHIVE_ME(open, NULL, ZEND_ACC_PUBLIC) ZIPARCHIVE_ME(close, NULL, ZEND_ACC_PUBLIC) ZIPARCHIVE_ME(getStatusString, NULL, ZEND_ACC_PUBLIC) @@ -2621,7 +2621,7 @@ static PHP_MINFO_FUNCTION(zip) php_info_print_table_row(2, "Zip", "enabled"); php_info_print_table_row(2, "Extension Version","$Id$"); php_info_print_table_row(2, "Zip version", PHP_ZIP_VERSION_STRING); - php_info_print_table_row(2, "Libzip version", "0.7.1"); + php_info_print_table_row(2, "Libzip version", "0.9.0"); php_info_print_table_end(); } -- cgit v1.2.1