Code Review
/
staging
/
windowmanager.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
cpp, simple wrappers for most of what we need, ivi_* still incomplete
[staging/windowmanager.git]
/
src
/
util.c
diff --git
a/src/util.c
b/src/util.c
index
ee4b7b6
..
0ce7c27
100644
(file)
--- a/
src/util.c
+++ b/
src/util.c
@@
-53,3
+53,12
@@
void fatal(char const *fmt, ...) {
va_end(a);
abort();
}
+
+#ifdef DEBUG_OUTPUT
+void logdebug(char const *fmt, ...) {
+ va_list a;
+ va_start(a, fmt);
+ log_("debug", stdout, fmt, a);
+ va_end(a);
+}
+#endif