summaryrefslogtreecommitdiff
path: root/ext/mysqlnd/mysqlnd_debug.h
diff options
context:
space:
mode:
authorAndrey Hristov <andrey@php.net>2008-11-20 17:29:55 +0000
committerAndrey Hristov <andrey@php.net>2008-11-20 17:29:55 +0000
commit2452619ed73525216270b7c4ee95eda184fb8719 (patch)
tree43fd74ea16e4efe8b145ff371c062c342930a08e /ext/mysqlnd/mysqlnd_debug.h
parent81f5248b004a95fc67724fb6db2d5794f3acec63 (diff)
downloadphp-git-2452619ed73525216270b7c4ee95eda184fb8719.tar.gz
mysqlnd fixes for Windows :
- 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