aboutsummaryrefslogtreecommitdiff
path: root/src/err.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/err.c')
-rw-r--r--src/err.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/err.c b/src/err.c
deleted file mode 100644
index 35b81f0..0000000
--- a/src/err.c
+++ /dev/null
@@ -1,18 +0,0 @@
-#include <stdarg.h>
-#include <stdio.h>
-#include <string.h>
-
-#include "dbx.h"
-
-void dbx_printerr(const char *format, ...) {
- va_list ap;
- va_start(ap, format);
- fprintf(stderr, "%s: ", progname);
- vfprintf(stderr, format, ap);
- fprintf(stderr, "\n");
- va_end(ap);
-}
-
-void dbx_perror(const char *s, int e) {
- fprintf(stderr, "%s: %s\n", s, strerror(e));
-}