summaryrefslogtreecommitdiff
path: root/utils.h
diff options
context:
space:
mode:
authorDavid Härdeman <david@hardeman.nu>2007-05-19 12:25:05 +0200
committerDavid Härdeman <david@hardeman.nu>2007-05-19 12:25:05 +0200
commit22fd68b59d5f792ff033120ad260581ac7fa72ee (patch)
treeda8efee0169c33d8ae532fd31e5a83862688fc52 /utils.h
parent3cb9d64b9b2ace1463f274c8554bffbfa4979e0d (diff)
Change all printf() calls to msg() calls and clean up output
Diffstat (limited to 'utils.h')
-rw-r--r--utils.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/utils.h b/utils.h
index d9989a4..dac3bc4 100644
--- a/utils.h
+++ b/utils.h
@@ -4,7 +4,9 @@ extern int verbosity;
#define MSG_NORMAL 0
#define MSG_DEBUG 1
#define MSG_QUIET -1
-#define MSG_CRITICAL -2
+#define MSG_ERROR -2
+#define MSG_CRITICAL -3
+
int msg(int level, const char *fmt, ...);
void *xmalloc(size_t size);