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/pdo_mysql/pdo_mysql.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ext/pdo_mysql/pdo_mysql.c') diff --git a/ext/pdo_mysql/pdo_mysql.c b/ext/pdo_mysql/pdo_mysql.c index f2adbe0fd3..32a0836d99 100755 --- a/ext/pdo_mysql/pdo_mysql.c +++ b/ext/pdo_mysql/pdo_mysql.c @@ -31,14 +31,14 @@ #include "php_pdo_mysql_int.h" /* {{{ pdo_mysql_functions[] */ -zend_function_entry pdo_mysql_functions[] = { +const zend_function_entry pdo_mysql_functions[] = { {NULL, NULL, NULL} }; /* }}} */ /* {{{ pdo_mysql_functions[] */ #if ZEND_MODULE_API_NO >= 20050922 -static zend_module_dep pdo_mysql_deps[] = { +static const zend_module_dep pdo_mysql_deps[] = { ZEND_MOD_REQUIRED("pdo") {NULL, NULL, NULL} }; -- cgit v1.2.1