summaryrefslogtreecommitdiff
path: root/ext/mysqli/mysqli_report.c
diff options
context:
space:
mode:
authorUlf Wendel <uw@php.net>2010-10-05 08:29:54 +0000
committerUlf Wendel <uw@php.net>2010-10-05 08:29:54 +0000
commitb3dfb5694969b6db5df6121ad4102e430be2d5e6 (patch)
treeffd75e5dc3ccf1d6d333f5c3d3db8c8572fc3215 /ext/mysqli/mysqli_report.c
parentd4b1c1ec78ba53ea2ec3c7ab676cbb8bd16c423c (diff)
downloadphp-git-b3dfb5694969b6db5df6121ad4102e430be2d5e6.tar.gz
Fix warnings
ext\mysqlnd\mysqlnd_result_meta.c(57) : warning C4090: 'initializing' : different 'const' qualifiers ext\mysqlnd\mysqlnd_result_meta.c(64) : warning C4090: 'initializing' : different 'const' qualifiers ext\mysqli\mysqli_report.c(50) : warning C4013: 'php_mysqli_throw_sql_exception' undefined; assuming extern returning int
Diffstat (limited to 'ext/mysqli/mysqli_report.c')
-rw-r--r--ext/mysqli/mysqli_report.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/mysqli/mysqli_report.c b/ext/mysqli/mysqli_report.c
index 6139ebe775..6cd5e74a42 100644
--- a/ext/mysqli/mysqli_report.c
+++ b/ext/mysqli/mysqli_report.c
@@ -27,6 +27,8 @@
#include "ext/standard/info.h"
#include "php_mysqli_structs.h"
+extern void php_mysqli_throw_sql_exception(char *sqlstate, int errorno TSRMLS_DC, char *format, ...);
+
/* {{{ proto bool mysqli_report(int flags)
sets report level */
PHP_FUNCTION(mysqli_report)