diff options
author | Dmitry Stogov <dmitry@zend.com> | 2017-12-14 18:43:44 +0300 |
---|---|---|
committer | Dmitry Stogov <dmitry@zend.com> | 2017-12-14 18:43:44 +0300 |
commit | 9e709e2fa02b85d0d10c864d6c996e3368e977ce (patch) | |
tree | 148bedd2674933ba40e59f15fcfa2981f7aead85 /ext/enchant/enchant.c | |
parent | 71eaf0d97f173093253163db8c4720bd62387e34 (diff) | |
download | php-git-9e709e2fa02b85d0d10c864d6c996e3368e977ce.tar.gz |
Move constants into read-only data segment
Diffstat (limited to 'ext/enchant/enchant.c')
-rw-r--r-- | ext/enchant/enchant.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) |