summaryrefslogtreecommitdiff
path: root/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'util.h')
-rw-r--r--util.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/util.h b/util.h
index 121d81b..0432a57 100644
--- a/util.h
+++ b/util.h
@@ -13,6 +13,9 @@
#define _(str) str
#endif
+#define log(...) error(0, 0, __VA_ARGS__)
+#define debug(...) error(0, 0, __VA_ARGS__)
+
void *xrealloc(void *ptr, size_t size);
bool is_numeric(const char *str);
int get_fd(const char *addr);