summaryrefslogtreecommitdiff
path: root/ext/mysqlnd/mysqlnd_debug.h
diff options
context:
space:
mode:
authorAndrey Hristov <andrey@php.net>2008-11-20 17:21:36 +0000
committerAndrey Hristov <andrey@php.net>2008-11-20 17:21:36 +0000
commitd43b7b022f3f654a7995f38eccb8a5d18b6c3402 (patch)
tree7898d39509e774d917a308ba45217e266680d74f /ext/mysqlnd/mysqlnd_debug.h
parente61c2e8c174f1bbdb0230d91723bb2a56a4b0e11 (diff)
downloadphp-git-d43b7b022f3f654a7995f38eccb8a5d18b6c3402.tar.gz
MFH:
Windows fixes for mysqlnd Less warnings + PHPAPI for mysqlnd_poll
Diffstat (limited to 'ext/mysqlnd/mysqlnd_debug.h')
-rw-r--r--ext/mysqlnd/mysqlnd_debug.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/ext/mysqlnd/mysqlnd_debug.h b/ext/mysqlnd/mysqlnd_debug.h
index 789d1fac1a..58b11e34aa 100644
--- a/ext/mysqlnd/mysqlnd_debug.h
+++ b/ext/mysqlnd/mysqlnd_debug.h
@@ -92,13 +92,13 @@ char * mysqlnd_get_backtrace(TSRMLS_D);
#elif MYSQLND_DBG_ENABLED == 0
-static inline void DBG_INF(char *msg) {}
-static inline void DBG_ERR(char *msg) {}
-static inline void DBG_INF_FMT(char *format, ...) {}
-static inline void DBG_ERR_FMT(char *format, ...) {}
-static inline void DBG_ENTER(char *func_name) {}
+static inline void DBG_INF(const char * const msg) {}
+static inline void DBG_ERR(const char * const msg) {}
+static inline void DBG_INF_FMT(const char * const format, ...) {}
+static inline void DBG_ERR_FMT(const char * const format, ...) {}
+static inline void DBG_ENTER(const char * const func_name) {}
#define DBG_RETURN(value) return (value)
-#define DBG_VOID_RETURN return;
+#define DBG_VOID_RETURN return
#endif