From 0f06df310c879e3506409277831c4cba7d4d9af7 Mon Sep 17 00:00:00 2001 From: Dmitry Stogov Date: Thu, 14 Dec 2017 22:46:22 +0300 Subject: Turn "php_stream_wrapper"s into constants Keep non-constant "php_stream_wrapper"s in API functions and callbacks for compatibility. --- main/php_memory_streams.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main/php_memory_streams.h') 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 -- cgit v1.2.1