aboutsummaryrefslogtreecommitdiffstats
path: root/src/log.h
diff options
context:
space:
mode:
authorWarren Dukes <warren.dukes@gmail.com>2006-08-12 04:50:18 +0000
committerWarren Dukes <warren.dukes@gmail.com>2006-08-12 04:50:18 +0000
commitb5361f7789e560701b333bf27a2768c0a58c7576 (patch)
tree40e9696c89f8946e9536c6e62a86e18d02ddeb7f /src/log.h
parentca7fdaa92957ac452b57830a8c3606e3da29fe5b (diff)
downloadmpd-b5361f7789e560701b333bf27a2768c0a58c7576.tar.gz
mpd-b5361f7789e560701b333bf27a2768c0a58c7576.tar.xz
mpd-b5361f7789e560701b333bf27a2768c0a58c7576.zip
always support DEBUG() logging, even if -DNDEBUG
git-svn-id: https://svn.musicpd.org/mpd/trunk@4613 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r--src/log.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/log.h b/src/log.h
index 0fb69ac7a..e0adf80fa 100644
--- a/src/log.h
+++ b/src/log.h
@@ -29,15 +29,10 @@
#define LOG_LEVEL_SECURE 1
#define LOG_LEVEL_DEBUG 2
-#ifndef NDEBUG
- mpd_printf void DEBUG(const char *fmt, ...);
-#else
- static inline void DEBUG(const char *fmt, ...) { }
-#endif
-
mpd_printf void ERROR(const char *fmt, ...);
mpd_printf void LOG(const char *fmt, ...);
mpd_printf void SECURE(const char *fmt, ...);
+mpd_printf void DEBUG(const char *fmt, ...);
mpd_printf void WARNING(const char *fmt, ...);
mpd_printf void FATAL(const char *fmt, ...);