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/tokenizer/tokenizer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/tokenizer/tokenizer.c') diff --git a/ext/tokenizer/tokenizer.c b/ext/tokenizer/tokenizer.c index 3de5616f62..c0c34d43d5 100644 --- a/ext/tokenizer/tokenizer.c +++ b/ext/tokenizer/tokenizer.c @@ -97,7 +97,7 @@ struct yy_buffer_state * * Every user visible function must have an entry in tokenizer_functions[]. */ -zend_function_entry tokenizer_functions[] = { +const zend_function_entry tokenizer_functions[] = { PHP_FE(token_get_all, NULL) PHP_FE(token_name, NULL) {NULL, NULL, NULL} /* Must be the last line in tokenizer_functions[] */ -- cgit v1.2.1