summaryrefslogtreecommitdiff
path: root/ext/pdo_odbc/php_pdo_odbc_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_odbc/php_pdo_odbc_int.h
parent0f06df310c879e3506409277831c4cba7d4d9af7 (diff)
downloadphp-git-0d484172fe7b35beae14ae777c2bda9cf120b55c.tar.gz
Turn "pdo_stmt_methods" into constants.
Diffstat (limited to 'ext/pdo_odbc/php_pdo_odbc_int.h')
-rw-r--r--ext/pdo_odbc/php_pdo_odbc_int.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pdo_odbc/php_pdo_odbc_int.h b/ext/pdo_odbc/php_pdo_odbc_int.h
index a94181fe4a..0eb23b1c80 100644
--- a/ext/pdo_odbc/php_pdo_odbc_int.h
+++ b/ext/pdo_odbc/php_pdo_odbc_int.h
@@ -165,7 +165,7 @@ typedef struct {
} pdo_odbc_param;
extern const pdo_driver_t pdo_odbc_driver;
-extern struct pdo_stmt_methods odbc_stmt_methods;
+extern const struct pdo_stmt_methods odbc_stmt_methods;
void pdo_odbc_error(pdo_dbh_t *dbh, pdo_stmt_t *stmt, PDO_ODBC_HSTMT statement, char *what, const char *file, int line);
#define pdo_odbc_drv_error(what) pdo_odbc_error(dbh, NULL, SQL_NULL_HSTMT, what, __FILE__, __LINE__)