diff options
Diffstat (limited to 'src/common/error.c')
-rw-r--r-- | src/common/error.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/common/error.c b/src/common/error.c new file mode 100644 index 0000000..f28a6cd --- /dev/null +++ b/src/common/error.c | |||
@@ -0,0 +1,8 @@ | |||
1 | #include "common/error.h" | ||
2 | #include <stdlib.h> | ||
3 | #include <stdio.h> | ||
4 | |||
5 | void rage_quit(const char *msg) { | ||
6 | fprintf(stderr, "FATAL ERROR: %s\n", msg); | ||
7 | exit(1); | ||
8 | } | ||