aboutsummaryrefslogtreecommitdiff
path: root/lib/errors/vwarnx.c
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-04-14 23:36:09 +0200
committerThomas Voss <mail@thomasvoss.com> 2024-04-14 23:36:09 +0200
commit16fb7bf070a0a49b81026e2bb4b4d208fcd69c95 (patch)
tree386ecf322a9ece85b242680c2fba7a1665d91a82 /lib/errors/vwarnx.c
parentfa481efe8e777bae2c2cca3649176d1ac7da6413 (diff)
Vastly simplify the errors.h interface
Diffstat (limited to 'lib/errors/vwarnx.c')
-rw-r--r--lib/errors/vwarnx.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/lib/errors/vwarnx.c b/lib/errors/vwarnx.c
deleted file mode 100644
index 58a7bc6..0000000
--- a/lib/errors/vwarnx.c
+++ /dev/null
@@ -1,12 +0,0 @@
-#include <stdarg.h>
-#include <stdio.h>
-
-#include "errors.h"
-
-void
-vwarnx(const char *fmt, va_list ap)
-{
- fprintf(stderr, "%s: ", mlib_progname());
- vfprintf(stderr, fmt, ap);
- fputc('\n', stderr);
-}