summaryrefslogtreecommitdiffstats
path: root/src/util.h
diff options
context:
space:
mode:
authorMarcus Fritzsch <marcus_fritzsch@mentor.com>2017-06-08 13:33:47 +0200
committerMarcus Fritzsch <marcus_fritzsch@mentor.com>2017-08-08 17:24:00 +0200
commitdb95653246560c24ad3c8cb224b3d9321b50af0a (patch)
treeabdb6b98405e1f7642fadf8114d198ad86bdf279 /src/util.h
parent11369e6592800fcf03138b109fee3d4c0736f21a (diff)
cpp, simple wrappers for most of what we need, ivi_* still incomplete
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h6
1 files changed, 6 insertions, 0 deletions
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