summaryrefslogtreecommitdiff
path: root/ext/pdo_pgsql/pgsql_driver.c
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@zend.com>2017-12-14 22:14:36 +0300
committerDmitry Stogov <dmitry@zend.com>2017-12-14 22:14:36 +0300
commit83e495e0fdc0c59b449bd173d0c8df1999239634 (patch)
tree80eb0e2e63b10f988add83a7d494838bd2cf9e56 /ext/pdo_pgsql/pgsql_driver.c
parent5d367636389506d3aff2220b0f4c6f14a59f98ea (diff)
downloadphp-git-83e495e0fdc0c59b449bd173d0c8df1999239634.tar.gz
Move constants into read-only data segment
Diffstat (limited to 'ext/pdo_pgsql/pgsql_driver.c')
-rw-r--r--ext/pdo_pgsql/pgsql_driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pdo_pgsql/pgsql_driver.c b/ext/pdo_pgsql/pgsql_driver.c
index 93e73e8b38..5cfe229bc1 100644
--- a/ext/pdo_pgsql/pgsql_driver.c
+++ b/ext/pdo_pgsql/pgsql_driver.c
@@ -176,7 +176,7 @@ static int pgsql_lob_seek(php_stream *stream, zend_off_t offset, int whence,
return pos >= 0 ? 0 : -1;
}
-php_stream_ops pdo_pgsql_lob_stream_ops = {
+const php_stream_ops pdo_pgsql_lob_stream_ops = {
pgsql_lob_write,
pgsql_lob_read,
pgsql_lob_close,