aboutsummaryrefslogtreecommitdiff
path: root/src/include/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/util.h')
-rw-r--r--src/include/util.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/include/util.h b/src/include/util.h
index 712af43..cfc85c2 100644
--- a/src/include/util.h
+++ b/src/include/util.h
@@ -7,16 +7,18 @@
#include <stdio.h>
-/* die and leave message */
-void die(const char*, ...);
-/* log an error */
-void log_err(const char*, ...);
+/* log some debug information */
+void log_dbg(const char*, ...);
/* log some information */
void log_inf(const char*, ...);
/* log something with no formatting */
void log_raw(const char*, ...);
/* log a warning */
void log_war(const char*, ...);
+/* log an error */
+void log_err(const char*, ...);
+/* die and leave message */
+void die(const char*, ...);
/* if calloc() returns null, die */
void* ecalloc(size_t, size_t);