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/pgsql | |
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/pgsql')
-rw-r--r-- | ext/pgsql/pgsql.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pgsql/pgsql.c b/ext/pgsql/pgsql.c index 6765141db4..c0c99dd996 100644 --- a/ext/pgsql/pgsql.c +++ b/ext/pgsql/pgsql.c @@ -90,7 +90,7 @@ static PHP_GINIT_FUNCTION(pgsql); /* {{{ pgsql_functions[] */ -zend_function_entry pgsql_functions[] = { +const zend_function_entry pgsql_functions[] = { /* connection functions */ PHP_FE(pg_connect, NULL) PHP_FE(pg_pconnect, NULL) |