diff options
author | Dmitry Stogov <dmitry@zend.com> | 2017-12-14 18:43:44 +0300 |
---|---|---|
committer | Dmitry Stogov <dmitry@zend.com> | 2017-12-14 18:43:44 +0300 |
commit | 9e709e2fa02b85d0d10c864d6c996e3368e977ce (patch) | |
tree | 148bedd2674933ba40e59f15fcfa2981f7aead85 /ext/pdo_sqlite/php_pdo_sqlite_int.h | |
parent | 71eaf0d97f173093253163db8c4720bd62387e34 (diff) | |
download | php-git-9e709e2fa02b85d0d10c864d6c996e3368e977ce.tar.gz |
Move constants into read-only data segment
Diffstat (limited to 'ext/pdo_sqlite/php_pdo_sqlite_int.h')
-rw-r--r-- | ext/pdo_sqlite/php_pdo_sqlite_int.h | 2 |
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 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__) |