aboutsummaryrefslogtreecommitdiff
path: root/src/macros.c
diff options
context:
space:
mode:
authorPreston Pan <preston@nullring.xyz>2024-01-09 18:39:49 -0800
committerPreston Pan <preston@nullring.xyz>2024-01-09 18:39:49 -0800
commitac6004730fa54a756d1627a4e8450cd32df86f75 (patch)
tree8cb4d59438a1252fa069788b2ffb78b2a1bbad3e /src/macros.c
parent6ccf0572469dfc8cd8fa7b8537b2ac6c265d2df6 (diff)
reorganize directory structure
Diffstat (limited to 'src/macros.c')
-rw-r--r--src/macros.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/macros.c b/src/macros.c
new file mode 100644
index 0000000..e9c8355
--- /dev/null
+++ b/src/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);
+}