Move constants into read-only data segment

This commit is contained in:
Dmitry Stogov 2017-12-14 18:43:44 +03:00
parent 71eaf0d97f
commit 9e709e2fa0
104 changed files with 162 additions and 162 deletions

View file

@ -1753,7 +1753,7 @@ PHP_FUNCTION(apache_response_headers) /* {{{ */
ZEND_BEGIN_ARG_INFO(arginfo_no_args, 0)
ZEND_END_ARG_INFO()
const zend_function_entry cgi_functions[] = {
static const zend_function_entry cgi_functions[] = {
PHP_FE(apache_child_terminate, arginfo_no_args)
PHP_FE(apache_request_headers, arginfo_no_args)
PHP_FE(apache_response_headers, arginfo_no_args)