diff options
author | Dmitry Stogov <dmitry@php.net> | 2007-09-27 18:28:44 +0000 |
---|---|---|
committer | Dmitry Stogov <dmitry@php.net> | 2007-09-27 18:28:44 +0000 |
commit | 8146078f7bbbe4f4799e1a154ea450c90c855728 (patch) | |
tree | 46cb160985407d24ff3a9d485a90e88fee4cdbb6 /ext/gettext/gettext.c | |
parent | 98a2c03808f73be0c08bfe654b985483ccb8d6bc (diff) | |
download | php-git-8146078f7bbbe4f4799e1a154ea450c90c855728.tar.gz |
Improved memory usage by movig constants to read only memory. (Dmitry, Pierre)
Diffstat (limited to 'ext/gettext/gettext.c')
-rw-r--r-- | ext/gettext/gettext.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/gettext/gettext.c b/ext/gettext/gettext.c index 88daefa739..92e4a9f27d 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() */ |