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/xsl/php_xsl.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/xsl/php_xsl.c')
-rw-r--r-- | ext/xsl/php_xsl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/xsl/php_xsl.c b/ext/xsl/php_xsl.c index 7d4f83989d..2bc8e05883 100644 --- a/ext/xsl/php_xsl.c +++ b/ext/xsl/php_xsl.c @@ -35,12 +35,12 @@ static zend_object_handlers xsl_object_handlers; * * Every user visible function must have an entry in xsl_functions[]. */ -zend_function_entry xsl_functions[] = { +const zend_function_entry xsl_functions[] = { {NULL, NULL, NULL} /* Must be the last line in xsl_functions[] */ }; /* }}} */ -static zend_module_dep xsl_deps[] = { +static const zend_module_dep xsl_deps[] = { ZEND_MOD_REQUIRED("libxml") {NULL, NULL, NULL} }; |