diff options
author | Thomas Voss <mail@thomasvoss.com> | 2024-04-14 23:36:09 +0200 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2024-04-14 23:36:09 +0200 |
commit | 16fb7bf070a0a49b81026e2bb4b4d208fcd69c95 (patch) | |
tree | 386ecf322a9ece85b242680c2fba7a1665d91a82 /lib/errors/errx.c | |
parent | fa481efe8e777bae2c2cca3649176d1ac7da6413 (diff) |
Vastly simplify the errors.h interface
Diffstat (limited to 'lib/errors/errx.c')
-rw-r--r-- | lib/errors/errx.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/lib/errors/errx.c b/lib/errors/errx.c deleted file mode 100644 index 1fd55af..0000000 --- a/lib/errors/errx.c +++ /dev/null @@ -1,14 +0,0 @@ -#include <stdarg.h> -#include <stdlib.h> - -#include "errors.h" - -void -errx(const char *fmt, ...) -{ - va_list ap; - va_start(ap, fmt); - vwarnx(fmt, ap); - va_end(ap); - exit(EXIT_FAILURE); -} |