From 9e709e2fa02b85d0d10c864d6c996e3368e977ce Mon Sep 17 00:00:00 2001 From: Dmitry Stogov Date: Thu, 14 Dec 2017 18:43:44 +0300 Subject: Move constants into read-only data segment --- main/php_main.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main/php_main.h') diff --git a/main/php_main.h b/main/php_main.h index 539f9e7456..be4aaab542 100644 --- a/main/php_main.h +++ b/main/php_main.h @@ -35,7 +35,7 @@ PHPAPI void php_module_shutdown(void); PHPAPI void php_module_shutdown_for_exec(void); PHPAPI int php_module_shutdown_wrapper(sapi_module_struct *sapi_globals); -PHPAPI int php_register_extensions(zend_module_entry **ptr, int count); +PHPAPI int php_register_extensions(zend_module_entry * const * ptr, int count); PHPAPI int php_execute_script(zend_file_handle *primary_file); PHPAPI int php_execute_simple_script(zend_file_handle *primary_file, zval *ret); -- cgit v1.2.1