From 6c810b0d4c1b12c675f69f5cfb32f26b6179d460 Mon Sep 17 00:00:00 2001 From: Dmitry Stogov Date: Thu, 27 Sep 2007 18:00:48 +0000 Subject: Improved memory usage by movig constants to read only memory. (Dmitry, Pierre) --- ext/recode/recode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/recode/recode.c') diff --git a/ext/recode/recode.c b/ext/recode/recode.c index e1220e2155..89245a14f7 100644 --- a/ext/recode/recode.c +++ b/ext/recode/recode.c @@ -67,7 +67,7 @@ ZEND_DECLARE_MODULE_GLOBALS(recode); static PHP_GINIT_FUNCTION(recode); /* {{{ module stuff */ -static zend_function_entry php_recode_functions[] = { +static const zend_function_entry php_recode_functions[] = { PHP_FE(recode_string, NULL) PHP_FE(recode_file, NULL) PHP_FALIAS(recode, recode_string, NULL) -- cgit v1.2.1