aboutsummaryrefslogtreecommitdiff
path: root/src/bsdiff-4.3/compat-include/err.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/bsdiff-4.3/compat-include/err.h')
-rw-r--r--src/bsdiff-4.3/compat-include/err.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/bsdiff-4.3/compat-include/err.h b/src/bsdiff-4.3/compat-include/err.h
deleted file mode 100644
index a851ded6f..000000000
--- a/src/bsdiff-4.3/compat-include/err.h
+++ /dev/null
@@ -1,12 +0,0 @@
-/* Simulate BSD's <err.h> functionality. */
-
-#ifndef COMPAT_ERR_H_INCLUDED
-#define COMPAT_ERR_H_INCLUDED 1
-
-#include <stdio.h>
-#include <stdlib.h>
-
-#define err(rc,...) do { fprintf(stderr,__VA_ARGS__); exit(rc); } while(0)
-#define errx(rc,...) do { fprintf(stderr,__VA_ARGS__); exit(rc); } while(0)
-
-#endif