summaryrefslogtreecommitdiff
path: root/ext/zip/php_zip.h
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@zend.com>2017-12-14 22:46:22 +0300
committerDmitry Stogov <dmitry@zend.com>2017-12-14 22:46:22 +0300
commit0f06df310c879e3506409277831c4cba7d4d9af7 (patch)
treeb671614a3bdeaf315fa1f69bbbc76fa7e2ab3477 /ext/zip/php_zip.h
parent83e495e0fdc0c59b449bd173d0c8df1999239634 (diff)
downloadphp-git-0f06df310c879e3506409277831c4cba7d4d9af7.tar.gz
Turn "php_stream_wrapper"s into constants
Keep non-constant "php_stream_wrapper"s in API functions and callbacks for compatibility.
Diffstat (limited to 'ext/zip/php_zip.h')
-rw-r--r--ext/zip/php_zip.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/zip/php_zip.h b/ext/zip/php_zip.h
index 585309789e..bc41502182 100644
--- a/ext/zip/php_zip.h
+++ b/ext/zip/php_zip.h
@@ -77,7 +77,7 @@ static inline ze_zip_object *php_zip_fetch_object(zend_object *obj) {
php_stream *php_stream_zip_opener(php_stream_wrapper *wrapper, const char *path, const char *mode, int options, zend_string **opened_path, php_stream_context *context STREAMS_DC);
php_stream *php_stream_zip_open(const char *filename, const char *path, const char *mode STREAMS_DC);
-extern php_stream_wrapper php_stream_zip_wrapper;
+extern const php_stream_wrapper php_stream_zip_wrapper;
#endif /* PHP_ZIP_H */