diff options
author | Dmitry Stogov <dmitry@zend.com> | 2017-12-14 22:14:36 +0300 |
---|---|---|
committer | Dmitry Stogov <dmitry@zend.com> | 2017-12-14 22:14:36 +0300 |
commit | 83e495e0fdc0c59b449bd173d0c8df1999239634 (patch) | |
tree | 80eb0e2e63b10f988add83a7d494838bd2cf9e56 /ext/zlib/php_zlib.h | |
parent | 5d367636389506d3aff2220b0f4c6f14a59f98ea (diff) | |
download | php-git-83e495e0fdc0c59b449bd173d0c8df1999239634.tar.gz |
Move constants into read-only data segment
Diffstat (limited to 'ext/zlib/php_zlib.h')
-rw-r--r-- | ext/zlib/php_zlib.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/zlib/php_zlib.h b/ext/zlib/php_zlib.h index 01a08cc998..cf79ccd9c1 100644 --- a/ext/zlib/php_zlib.h +++ b/ext/zlib/php_zlib.h @@ -67,9 +67,9 @@ ZEND_END_MODULE_GLOBALS(zlib); #define ZLIBG(v) ZEND_MODULE_GLOBALS_ACCESSOR(zlib, v) php_stream *php_stream_gzopen(php_stream_wrapper *wrapper, const char *path, const char *mode, int options, zend_string **opened_path, php_stream_context *context STREAMS_DC); -extern php_stream_ops php_stream_gzio_ops; +extern const php_stream_ops php_stream_gzio_ops; extern php_stream_wrapper php_stream_gzip_wrapper; -extern php_stream_filter_factory php_zlib_filter_factory; +extern const php_stream_filter_factory php_zlib_filter_factory; extern zend_module_entry php_zlib_module_entry; #define zlib_module_ptr &php_zlib_module_entry #define phpext_zlib_ptr zlib_module_ptr |