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/unicode/unicode.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/unicode/unicode.c')
-rw-r--r-- | ext/unicode/unicode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/unicode/unicode.c b/ext/unicode/unicode.c index 2f130dcb2d..ade1704a9d 100644 --- a/ext/unicode/unicode.c +++ b/ext/unicode/unicode.c @@ -299,7 +299,7 @@ PHP_FUNCTION(unicode_restore_error_handler) /* }}} */ /* {{{ unicode_functions[] */ -zend_function_entry unicode_functions[] = { +const zend_function_entry unicode_functions[] = { PHP_FE(locale_get_default, NULL) PHP_FE(locale_set_default, NULL) PHP_FE(unicode_decode, NULL) |