diff options
author | Dmitry Stogov <dmitry@zend.com> | 2017-12-14 22:14:36 +0300 |
---|---|---|
committer | Dmitry Stogov <dmitry@zend.com> | 2017-12-14 22:14:36 +0300 |
commit | 83e495e0fdc0c59b449bd173d0c8df1999239634 (patch) | |
tree | 80eb0e2e63b10f988add83a7d494838bd2cf9e56 /ext/pgsql/php_pgsql.h | |
parent | 5d367636389506d3aff2220b0f4c6f14a59f98ea (diff) | |
download | php-git-83e495e0fdc0c59b449bd173d0c8df1999239634.tar.gz |
Move constants into read-only data segment
Diffstat (limited to 'ext/pgsql/php_pgsql.h')
-rw-r--r-- | ext/pgsql/php_pgsql.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pgsql/php_pgsql.h b/ext/pgsql/php_pgsql.h index ea656dbc86..d65acdbf93 100644 --- a/ext/pgsql/php_pgsql.h +++ b/ext/pgsql/php_pgsql.h @@ -298,7 +298,7 @@ typedef struct _php_pgsql_notice { size_t len; } php_pgsql_notice; -static php_stream_ops php_stream_pgsql_fd_ops = { +static const php_stream_ops php_stream_pgsql_fd_ops = { php_pgsql_fd_write, php_pgsql_fd_read, php_pgsql_fd_close, |