summaryrefslogtreecommitdiff
path: root/ext/gettext
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/gettext
parentf6d9901873156c560eb6da7dafbefc56c363b2bd (diff)
downloadphp-git-6c810b0d4c1b12c675f69f5cfb32f26b6179d460.tar.gz
Improved memory usage by movig constants to read only memory. (Dmitry, Pierre)
Diffstat (limited to 'ext/gettext')
-rw-r--r--ext/gettext/gettext.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/gettext/gettext.c b/ext/gettext/gettext.c
index 7c6d302dc8..ba1742be0e 100644
--- a/ext/gettext/gettext.c
+++ b/ext/gettext/gettext.c
@@ -101,7 +101,7 @@ ZEND_END_ARG_INFO()
/* {{{ php_gettext_functions[]
*/
-zend_function_entry php_gettext_functions[] = {
+const zend_function_entry php_gettext_functions[] = {
PHP_NAMED_FE(textdomain, zif_textdomain, arginfo_textdomain)
PHP_NAMED_FE(gettext, zif_gettext, arginfo_gettext)
/* Alias for gettext() */