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/pdo/php_pdo_driver.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/pdo/php_pdo_driver.h') diff --git a/ext/pdo/php_pdo_driver.h b/ext/pdo/php_pdo_driver.h index 5e61f3c2d0..4bda77a19b 100755 --- a/ext/pdo/php_pdo_driver.h +++ b/ext/pdo/php_pdo_driver.h @@ -289,7 +289,7 @@ enum { PDO_DBH_DRIVER_METHOD_KIND__MAX }; -typedef zend_function_entry *(*pdo_dbh_get_driver_methods_func)(pdo_dbh_t *dbh, int kind TSRMLS_DC); +typedef const zend_function_entry *(*pdo_dbh_get_driver_methods_func)(pdo_dbh_t *dbh, int kind TSRMLS_DC); struct pdo_dbh_methods { pdo_dbh_close_func closer; -- cgit v1.2.1