summaryrefslogtreecommitdiff
path: root/main/php_memory_streams.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 /main/php_memory_streams.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 'main/php_memory_streams.h')
-rw-r--r--main/php_memory_streams.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/php_memory_streams.h b/main/php_memory_streams.h
index b7f0ce8488..21cb856e01 100644
--- a/main/php_memory_streams.h
+++ b/main/php_memory_streams.h
@@ -59,7 +59,7 @@ END_EXTERN_C()
extern PHPAPI const php_stream_ops php_stream_memory_ops;
extern PHPAPI const php_stream_ops php_stream_temp_ops;
extern PHPAPI const php_stream_ops php_stream_rfc2397_ops;
-extern PHPAPI php_stream_wrapper php_stream_rfc2397_wrapper;
+extern PHPAPI const php_stream_wrapper php_stream_rfc2397_wrapper;
#define PHP_STREAM_IS_MEMORY &php_stream_memory_ops
#define PHP_STREAM_IS_TEMP &php_stream_temp_ops