summaryrefslogtreecommitdiff
path: root/ext/pdo_sqlite/php_pdo_sqlite_int.h
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@zend.com>2017-12-14 22:59:58 +0300
committerDmitry Stogov <dmitry@zend.com>2017-12-14 22:59:58 +0300
commit0d484172fe7b35beae14ae777c2bda9cf120b55c (patch)
treed638a858f83a371043cbb2d188b70370d9811670 /ext/pdo_sqlite/php_pdo_sqlite_int.h
parent0f06df310c879e3506409277831c4cba7d4d9af7 (diff)
downloadphp-git-0d484172fe7b35beae14ae777c2bda9cf120b55c.tar.gz
Turn "pdo_stmt_methods" into constants.
Diffstat (limited to 'ext/pdo_sqlite/php_pdo_sqlite_int.h')
-rw-r--r--ext/pdo_sqlite/php_pdo_sqlite_int.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pdo_sqlite/php_pdo_sqlite_int.h b/ext/pdo_sqlite/php_pdo_sqlite_int.h
index 073c868484..bea82c26d0 100644
--- a/ext/pdo_sqlite/php_pdo_sqlite_int.h
+++ b/ext/pdo_sqlite/php_pdo_sqlite_int.h
@@ -74,7 +74,7 @@ extern int _pdo_sqlite_error(pdo_dbh_t *dbh, pdo_stmt_t *stmt, const char *file,
#define pdo_sqlite_error(s) _pdo_sqlite_error(s, NULL, __FILE__, __LINE__)
#define pdo_sqlite_error_stmt(s) _pdo_sqlite_error(stmt->dbh, stmt, __FILE__, __LINE__)
-extern struct pdo_stmt_methods sqlite_stmt_methods;
+extern const struct pdo_stmt_methods sqlite_stmt_methods;
enum {
PDO_SQLITE_ATTR_OPEN_FLAGS = PDO_ATTR_DRIVER_SPECIFIC,