about summary refs log tree commit diff stats
path: root/macros.h
diff options
context:
space:
mode:
Diffstat (limited to 'macros.h')
-rw-r--r--macros.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/macros.h b/macros.h
new file mode 100644
index 0000000..ecf16ce
--- /dev/null
+++ b/macros.h
@@ -0,0 +1,5 @@
+#pragma once
+
+#include <err.h>
+
+#define bug_abort err(EX_SOFTWARE, __FILE__ ":%d - buggy", __LINE__)