aboutsummaryrefslogtreecommitdiff
path: root/print.c
diff options
context:
space:
mode:
Diffstat (limited to 'print.c')
-rw-r--r--print.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/print.c b/print.c
deleted file mode 100644
index 824f818..0000000
--- a/print.c
+++ /dev/null
@@ -1,21 +0,0 @@
-#include <stdarg.h>
-#include <stdio.h>
-
-#include "print.h"
-
-#define PRINT_ERROR_PREFIX "ERROR: "
-#define PRINT_ERROR_SUFFIX "\n"
-
-void
-print_error(const char *const format, ...)
-{
- fprintf(stderr, PRINT_ERROR_PREFIX);
-
- va_list args;
-
- va_start(args, format);
- vfprintf(stderr, format, args);
- va_end(args);
-
- fprintf(stderr, PRINT_ERROR_SUFFIX);
-}