From 83e495e0fdc0c59b449bd173d0c8df1999239634 Mon Sep 17 00:00:00 2001 From: Dmitry Stogov Date: Thu, 14 Dec 2017 22:14:36 +0300 Subject: Move constants into read-only data segment --- ext/pgsql/php_pgsql.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/pgsql/php_pgsql.h') 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, -- cgit v1.2.1