aboutsummaryrefslogtreecommitdiff
path: root/macros.c
diff options
context:
space:
mode:
authorPreston Pan <preston@nullring.xyz>2024-01-04 22:01:50 -0800
committerPreston Pan <preston@nullring.xyz>2024-01-04 22:01:50 -0800
commit3860d330a370b2cb2cf1a1b26fa91907a9748245 (patch)
treee22b813097c24730d33942677823a2d29b8f4bff /macros.c
first commit
Diffstat (limited to 'macros.c')
-rw-r--r--macros.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/macros.c b/macros.c
new file mode 100644
index 0000000..e17e113
--- /dev/null
+++ b/macros.c
@@ -0,0 +1,8 @@
+#include "macros.h"
+#include <stdio.h>
+#include <stdlib.h>
+
+void die(char *message) {
+ fprintf(stderr, "ERROR: %s\n", message);
+ exit(1);
+}