aboutsummaryrefslogtreecommitdiffstats
path: root/log.h
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2015-03-12 14:02:39 +0100
committerNatanael Copa <ncopa@alpinelinux.org>2015-03-12 14:02:39 +0100
commit03e9f2891d17643e603f3fd5f88dc61556e38802 (patch)
tree6dbdbad916543b0ebb95a4da0bf28d5247a26a78 /log.h
parent9ba3489123c6de58f70fc05379644c2ccedbe870 (diff)
downloadnldev-03e9f2891d17643e603f3fd5f88dc61556e38802.tar.bz2
nldev-03e9f2891d17643e603f3fd5f88dc61556e38802.tar.xz
move edie, die and dbg functions to log.c
So it can be reused by the handler.
Diffstat (limited to 'log.h')
-rw-r--r--log.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/log.h b/log.h
new file mode 100644
index 0000000..949ecce
--- /dev/null
+++ b/log.h
@@ -0,0 +1,10 @@
+
+#include <stdarg.h>
+
+#include "arg.h"
+
+void edie(char *fmt, ...);
+void die(char *fmt, ...);
+void dbg(char *fmt, ...);
+
+extern int dodebug;