diff options
author | Dmitry Stogov <dmitry@php.net> | 2007-09-27 18:00:48 +0000 |
---|---|---|
committer | Dmitry Stogov <dmitry@php.net> | 2007-09-27 18:00:48 +0000 |
commit | 6c810b0d4c1b12c675f69f5cfb32f26b6179d460 (patch) | |
tree | e95f336ce39693101bed812985b914c9bd80523e /ext/pdo_pgsql/pdo_pgsql.c | |
parent | f6d9901873156c560eb6da7dafbefc56c363b2bd (diff) | |
download | php-git-6c810b0d4c1b12c675f69f5cfb32f26b6179d460.tar.gz |
Improved memory usage by movig constants to read only memory. (Dmitry, Pierre)
Diffstat (limited to 'ext/pdo_pgsql/pdo_pgsql.c')
-rw-r--r-- | ext/pdo_pgsql/pdo_pgsql.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/pdo_pgsql/pdo_pgsql.c b/ext/pdo_pgsql/pdo_pgsql.c index 6689c1bc06..5dd039a2e1 100644 --- a/ext/pdo_pgsql/pdo_pgsql.c +++ b/ext/pdo_pgsql/pdo_pgsql.c @@ -35,7 +35,7 @@ #endif /* {{{ pdo_pgsql_functions[] */ -zend_function_entry pdo_pgsql_functions[] = { +const zend_function_entry pdo_pgsql_functions[] = { {NULL, NULL, NULL} }; /* }}} */ @@ -43,7 +43,7 @@ zend_function_entry pdo_pgsql_functions[] = { /* {{{ pdo_sqlite_deps */ #if ZEND_MODULE_API_NO >= 20050922 -static zend_module_dep pdo_pgsql_deps[] = { +static const zend_module_dep pdo_pgsql_deps[] = { ZEND_MOD_REQUIRED("pdo") {NULL, NULL, NULL} }; |