From 16fb7bf070a0a49b81026e2bb4b4d208fcd69c95 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Sun, 14 Apr 2024 23:36:09 +0200 Subject: Vastly simplify the errors.h interface --- include/errors.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'include') 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 [[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; -- cgit v1.2.3