summaryrefslogtreecommitdiff
path: root/ext/pdo_mysql/php_pdo_mysql_int.h
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@zend.com>2017-12-14 18:43:44 +0300
committerDmitry Stogov <dmitry@zend.com>2017-12-14 18:43:44 +0300
commit9e709e2fa02b85d0d10c864d6c996e3368e977ce (patch)
tree148bedd2674933ba40e59f15fcfa2981f7aead85 /ext/pdo_mysql/php_pdo_mysql_int.h
parent71eaf0d97f173093253163db8c4720bd62387e34 (diff)
downloadphp-git-9e709e2fa02b85d0d10c864d6c996e3368e977ce.tar.gz
Move constants into read-only data segment
Diffstat (limited to 'ext/pdo_mysql/php_pdo_mysql_int.h')
-rw-r--r--ext/pdo_mysql/php_pdo_mysql_int.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pdo_mysql/php_pdo_mysql_int.h b/ext/pdo_mysql/php_pdo_mysql_int.h
index 32e79e111c..6e7d840d7a 100644
--- a/ext/pdo_mysql/php_pdo_mysql_int.h
+++ b/ext/pdo_mysql/php_pdo_mysql_int.h
@@ -149,7 +149,7 @@ typedef struct {
unsigned max_length:1;
} pdo_mysql_stmt;
-extern pdo_driver_t pdo_mysql_driver;
+extern const pdo_driver_t pdo_mysql_driver;
extern int _pdo_mysql_error(pdo_dbh_t *dbh, pdo_stmt_t *stmt, const char *file, int line);
#define pdo_mysql_error(s) _pdo_mysql_error(s, NULL, __FILE__, __LINE__)