diff options
Diffstat (limited to 'include/err.h')
| -rw-r--r-- | include/err.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/include/err.h b/include/err.h index f08005f7..3e670fb8 100644 --- a/include/err.h +++ b/include/err.h @@ -2,16 +2,15 @@ #define __ERR_H #include <stdarg.h> +#include <sys/cdefs.h> -_Noreturn void err(int eval, const char *fmt, ...); -_Noreturn void errx(int eval, const char *fmt, ...); +__dead void err(int eval, const char *fmt, ...); +__dead void errx(int eval, const char *fmt, ...); +__dead void verr(int eval, const char *fmt, va_list args); +__dead void verrx(int eval, const char *fmt, va_list args); void warn(const char *fmt, ...); void warnx(const char *fmt, ...); - -_Noreturn void verr(int eval, const char *fmt, va_list args); -_Noreturn void verrx(int eval, const char *fmt, va_list args); - void vwarn(const char *fmt, va_list args); void vwarnx(const char *fmt, va_list args); |
