aboutsummaryrefslogtreecommitdiffhomepage
path: root/common.c
diff options
context:
space:
mode:
Diffstat (limited to 'common.c')
-rw-r--r--common.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/common.c b/common.c
index 678065a..63a3feb 100644
--- a/common.c
+++ b/common.c
@@ -11,6 +11,10 @@ void unreachable() {
fatal_error("unreachable");
}
+void unimplemented() {
+ fatal_error("unimplemented");
+}
+
char* read_all(FILE* in) {
char* buf = calloc(1024 * 1024, sizeof(char));
char* cur = buf;