summaryrefslogtreecommitdiff
path: root/util.h
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-03-22 16:06:21 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-03-22 16:06:21 -0400
commite90c4a77b7783468048bc4bc49eb0423ae676a78 (patch)
tree9c26c8fa7dc4551eae417a587547efee79b5e4fa /util.h
parent51495e7579a1fcbdbfda868109c2128c2e933f9f (diff)
stuff
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);