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 --- ext/enchant/enchant.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/enchant/enchant.c') diff --git a/ext/enchant/enchant.c b/ext/enchant/enchant.c index be79035bba..6fef025a70 100644 --- a/ext/enchant/enchant.c +++ b/ext/enchant/enchant.c @@ -122,7 +122,7 @@ ZEND_END_ARG_INFO() * * Every user visible function must have an entry in enchant_functions[]. */ -zend_function_entry enchant_functions[] = { +static const zend_function_entry enchant_functions[] = { PHP_FE(enchant_broker_init, arginfo_enchant_broker_init) PHP_FE(enchant_broker_free, arginfo_enchant_broker_free) PHP_FE(enchant_broker_get_error, arginfo_enchant_broker_free) -- cgit v1.2.1