X-Git-Url: http://nsz.repo.hu/git/?p=musl;a=blobdiff_plain;f=include%2Ferr.h;h=9f5cb6b9e9fad0ff255f2dd1b505cfcec4658d26;hp=5e33f9e42e4508e2c6c53214e714388d73923471;hb=b3175f5c48d414ba792dfb77078dd5f559abd844;hpb=39e48531eff4e3c3e3e6d1339ff6085f1e2f69bc diff --git a/include/err.h b/include/err.h index 5e33f9e4..9f5cb6b9 100644 --- a/include/err.h +++ b/include/err.h @@ -1,6 +1,7 @@ #ifndef _ERR_H #define _ERR_H +#include #include #ifdef __cplusplus @@ -12,10 +13,10 @@ void vwarn(const char *, va_list); void warnx(const char *, ...); void vwarnx(const char *, va_list); -void err(int, const char *, ...); -void verr(int, const char *, va_list); -void errx(int, const char *, ...); -void verrx(int, const char *, va_list); +_Noreturn void err(int, const char *, ...); +_Noreturn void verr(int, const char *, va_list); +_Noreturn void errx(int, const char *, ...); +_Noreturn void verrx(int, const char *, va_list); #ifdef __cplusplus }