aboutsummaryrefslogtreecommitdiff
path: root/src/err.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/err.h')
-rw-r--r--src/err.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/err.h b/src/err.h
deleted file mode 100644
index 1dccbf9..0000000
--- a/src/err.h
+++ /dev/null
@@ -1,17 +0,0 @@
-#ifndef _ERR_H_
-#define _ERR_H_
-
-#include <stdio.h>
-#include <stdlib.h>
-#include <stdarg.h>
-
-static inline void error(const char *format, ...)
-{
- va_list args;
- va_start(args, format);
- vfprintf(stderr, format, args);
- va_end(args);
- exit(1);
-}
-
-#endif