aboutsummaryrefslogtreecommitdiffstats
path: root/src/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/util.h b/src/util.h
index db02cd4..5e46166 100644
--- a/src/util.h
+++ b/src/util.h
@@ -11,10 +11,7 @@
#include <stddef.h>
-#define DIE_HELPER(M, ...) die(M ": %s\n", __VA_ARGS__)
-#define fatal(...) DIE_HELPER(__VA_ARGS__, strerror(errno))
-
-extern void __attribute__((noreturn)) die(const char *err, ...);
+extern void __attribute__((noreturn)) die_(const char *err, ...);
extern void *xmalloc(size_t size);
extern void *xrealloc(void *ptr, size_t size);
extern char *xstrdup(const char *str);