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 /include | |
parent | fa481efe8e777bae2c2cca3649176d1ac7da6413 (diff) |
Vastly simplify the errors.h interface
Diffstat (limited to 'include')
-rw-r--r-- | include/errors.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/errors.h b/include/errors.h index 1a803b5..1e5d41f 100644 --- a/include/errors.h +++ b/include/errors.h @@ -4,16 +4,11 @@ #include <stdarg.h> [[gnu::__format__(printf, 1, 2)]] void warn(const char *, ...); -[[gnu::__format__(printf, 1, 2)]] void warnx(const char *, ...); void vwarn(const char *, va_list); -void vwarnx(const char *, va_list); [[__noreturn__, gnu::__format__(printf, 1, 2)]] void err(const char *, ...); -[[__noreturn__, gnu::__format__(printf, 1, 2)]] void errx(const char *, ...); [[__noreturn__, gnu::__format__(printf, 2, 3)]] void cerr(int, const char *, ...); -[[__noreturn__, gnu::__format__(printf, 2, 3)]] void cerrx(int, const char *, - ...); extern const char *__mlib_errors_progname; |