cvs: pecl /zip php_zip.c php_zip.h
| From: | Pierre-Alain Joye | Date: | Thu, 16 Nov 2006 00:26:01 +0000 |
| Subject: | cvs: pecl /zip php_zip.c php_zip.h | ||
| Groups: | php.pecl.cvs | ||
| Request: | Send a blank email to pecl-cvs+get-6641@lists.php.net to get a copy of this message | ||
pajoye Thu Nov 16 00:26:01 2006 UTC
Modified files:
/pecl/zip php_zip.c php_zip.h
Log:
- drop unused declaration
- use static for zip_class_entry
http://cvs.php.net/viewvc.cgi/pecl/zip/php_zip.c?r1=1.88&r2=1.89&diff_format=u
Index: pecl/zip/php_zip.c
diff -u pecl/zip/php_zip.c:1.88 pecl/zip/php_zip.c:1.89
--- pecl/zip/php_zip.c:1.88 Thu Nov 16 00:19:21 2006
+++ pecl/zip/php_zip.c Thu Nov 16 00:26:01 2006
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: php_zip.c,v 1.88 2006/11/16 00:19:21 pajoye Exp $ */
+/* $Id: php_zip.c,v 1.89 2006/11/16 00:26:01 pajoye Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -299,7 +299,7 @@
/* {{{ ZE2 OO definitions */
#ifdef ZEND_ENGINE_2_1
-zend_class_entry *zip_class_entry;
+static zend_class_entry *zip_class_entry;
static zend_object_handlers zip_object_handlers;
static HashTable zip_prop_handlers;
@@ -2034,7 +2034,7 @@
php_info_print_table_start();
php_info_print_table_row(2, "Zip", "enabled");
- php_info_print_table_row(2, "Extension Version","$Id: php_zip.c,v 1.88 2006/11/16
00:19:21 pajoye Exp $");
+ php_info_print_table_row(2, "Extension Version","$Id: php_zip.c,v 1.89 2006/11/16
00:26:01 pajoye Exp $");
php_info_print_table_row(2, "Zip version", "@PACKAGE_VERSION@");
php_info_print_table_row(2, "Libzip version", "0.7.1");
http://cvs.php.net/viewvc.cgi/pecl/zip/php_zip.h?r1=1.14&r2=1.15&diff_format=u
Index: pecl/zip/php_zip.h
diff -u pecl/zip/php_zip.h:1.14 pecl/zip/php_zip.h:1.15
--- pecl/zip/php_zip.h:1.14 Thu Nov 16 00:19:21 2006
+++ pecl/zip/php_zip.h Thu Nov 16 00:26:01 2006
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: php_zip.h,v 1.14 2006/11/16 00:19:21 pajoye Exp $ */
+/* $Id: php_zip.h,v 1.15 2006/11/16 00:26:01 pajoye Exp $ */
#ifndef PHP_ZIP_H
#define PHP_ZIP_H
@@ -70,8 +70,6 @@
int filename_len;
} ze_zip_object;
-zend_class_entry *zip_class_entry_ce;
-
php_stream *php_stream_zip_opener(php_stream_wrapper *wrapper, char *path, char *mode, int options,
char **opened_path, php_stream_context *context STREAMS_DC TSRMLS_DC);
php_stream *php_stream_zip_open(char *filename, char *path, char *mode STREAMS_DC TSRMLS_DC);