From db95653246560c24ad3c8cb224b3d9321b50af0a Mon Sep 17 00:00:00 2001 From: Marcus Fritzsch Date: Thu, 8 Jun 2017 13:33:47 +0200 Subject: cpp, simple wrappers for most of what we need, ivi_* still incomplete Signed-off-by: Marcus Fritzsch --- src/util.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/util.h') diff --git a/src/util.h b/src/util.h index 27d1015..600c638 100644 --- a/src/util.h +++ b/src/util.h @@ -9,6 +9,12 @@ void lognotice(char const *fmt, ...); void logerror(char const *fmt, ...); void fatal(char const *fmt, ...); +#ifdef DEBUG_OUTPUT +void logdebug(char const *fmt, ...); +#else +inline void logdebug(char const *fmt, ...) {} +#endif + #ifdef __cplusplus } #endif -- cgit 1.2.3-korg