From 9e709e2fa02b85d0d10c864d6c996e3368e977ce Mon Sep 17 00:00:00 2001 From: Dmitry Stogov Date: Thu, 14 Dec 2017 18:43:44 +0300 Subject: Move constants into read-only data segment --- ext/pdo_pgsql/php_pdo_pgsql_int.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/pdo_pgsql/php_pdo_pgsql_int.h') diff --git a/ext/pdo_pgsql/php_pdo_pgsql_int.h b/ext/pdo_pgsql/php_pdo_pgsql_int.h index f988335859..916b35c6b6 100644 --- a/ext/pdo_pgsql/php_pdo_pgsql_int.h +++ b/ext/pdo_pgsql/php_pdo_pgsql_int.h @@ -77,7 +77,7 @@ typedef struct { Oid oid; } pdo_pgsql_bound_param; -extern pdo_driver_t pdo_pgsql_driver; +extern const pdo_driver_t pdo_pgsql_driver; extern int _pdo_pgsql_error(pdo_dbh_t *dbh, pdo_stmt_t *stmt, int errcode, const char *sqlstate, const char *msg, const char *file, int line); #define pdo_pgsql_error(d,e,z) _pdo_pgsql_error(d, NULL, e, z, NULL, __FILE__, __LINE__) -- cgit v1.2.1