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_sqlite/php_pdo_sqlite_int.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/pdo_sqlite/php_pdo_sqlite_int.h') diff --git a/ext/pdo_sqlite/php_pdo_sqlite_int.h b/ext/pdo_sqlite/php_pdo_sqlite_int.h index 1c90416b9f..073c868484 100644 --- a/ext/pdo_sqlite/php_pdo_sqlite_int.h +++ b/ext/pdo_sqlite/php_pdo_sqlite_int.h @@ -68,7 +68,7 @@ typedef struct { unsigned done:1; } pdo_sqlite_stmt; -extern pdo_driver_t pdo_sqlite_driver; +extern const pdo_driver_t pdo_sqlite_driver; extern int _pdo_sqlite_error(pdo_dbh_t *dbh, pdo_stmt_t *stmt, const char *file, int line); #define pdo_sqlite_error(s) _pdo_sqlite_error(s, NULL, __FILE__, __LINE__) -- cgit v1.2.1