From 8146078f7bbbe4f4799e1a154ea450c90c855728 Mon Sep 17 00:00:00 2001 From: Dmitry Stogov Date: Thu, 27 Sep 2007 18:28:44 +0000 Subject: Improved memory usage by movig constants to read only memory. (Dmitry, Pierre) --- ext/dom/namelist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/dom/namelist.c') diff --git a/ext/dom/namelist.c b/ext/dom/namelist.c index 4e49f08ddf..31882e78b8 100644 --- a/ext/dom/namelist.c +++ b/ext/dom/namelist.c @@ -35,7 +35,7 @@ * Since: DOM Level 3 */ -zend_function_entry php_dom_namelist_class_functions[] = { +const zend_function_entry php_dom_namelist_class_functions[] = { PHP_FALIAS(getName, dom_namelist_get_name, NULL) PHP_FALIAS(getNamespaceURI, dom_namelist_get_namespace_uri, NULL) {NULL, NULL, NULL} -- cgit v1.2.1