summaryrefslogtreecommitdiff
path: root/ext/pspell
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@php.net>2007-09-27 18:00:48 +0000
committerDmitry Stogov <dmitry@php.net>2007-09-27 18:00:48 +0000
commit6c810b0d4c1b12c675f69f5cfb32f26b6179d460 (patch)
treee95f336ce39693101bed812985b914c9bd80523e /ext/pspell
parentf6d9901873156c560eb6da7dafbefc56c363b2bd (diff)
downloadphp-git-6c810b0d4c1b12c675f69f5cfb32f26b6179d460.tar.gz
Improved memory usage by movig constants to read only memory. (Dmitry, Pierre)
Diffstat (limited to 'ext/pspell')
-rw-r--r--ext/pspell/pspell.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pspell/pspell.c b/ext/pspell/pspell.c
index fc8f2937cc..128ee26f64 100644
--- a/ext/pspell/pspell.c
+++ b/ext/pspell/pspell.c
@@ -74,7 +74,7 @@ static PHP_FUNCTION(pspell_config_save_repl);
/* {{{ pspell_functions[]
*/
-static zend_function_entry pspell_functions[] = {
+static const zend_function_entry pspell_functions[] = {
PHP_FE(pspell_new, NULL)
PHP_FE(pspell_new_personal, NULL)
PHP_FE(pspell_new_config, NULL)