about summary refs log tree commit diff
path: root/src/utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils.c')
-rw-r--r--src/utils.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/src/utils.c b/src/utils.c
deleted file mode 100644
index ba5638f..0000000
--- a/src/utils.c
+++ /dev/null
@@ -1,20 +0,0 @@
-#include <stdarg.h>
-#include <stdio.h>
-#include <stdlib.h>
-#include <stdnoreturn.h>
-
-#include "main.h"
-
-
-noreturn void die(int code, char *fmt, ...)
-{
-    va_list args;
-
-    fprintf(stderr, "%s: ", program_name);
-    va_start(args, fmt);
-    vfprintf(stderr, fmt, args);
-    va_end(args);
-    putc('\n', stderr);
-
-    exit(code);
-}