diff options
author | bde <bde@FreeBSD.org> | 1994-09-08 10:29:15 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1994-09-08 10:29:15 +0000 |
commit | f5939bca932a556efe352fa732c5c8b10ba10303 (patch) | |
tree | 6e5777f69378e0d2e243428187f3743f94e33f60 /include/err.h | |
parent | 255125cf4458ad72899f9a4a4efd4dc0dce1a09b (diff) | |
download | FreeBSD-src-f5939bca932a556efe352fa732c5c8b10ba10303.zip FreeBSD-src-f5939bca932a556efe352fa732c5c8b10ba10303.tar.gz |
Declare functions that don't return as having attribute __dead2.
Diffstat (limited to 'include/err.h')
-rw-r--r-- | include/err.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/err.h b/include/err.h index dce9ed0..8236f00 100644 --- a/include/err.h +++ b/include/err.h @@ -47,10 +47,10 @@ #include <sys/cdefs.h> __BEGIN_DECLS -__dead void err __P((int, const char *, ...)); -__dead void verr __P((int, const char *, _BSD_VA_LIST_)); -__dead void errx __P((int, const char *, ...)); -__dead void verrx __P((int, const char *, _BSD_VA_LIST_)); +__dead void err __P((int, const char *, ...)) __dead2; +__dead void verr __P((int, const char *, _BSD_VA_LIST_)) __dead2; +__dead void errx __P((int, const char *, ...)) __dead2; +__dead void verrx __P((int, const char *, _BSD_VA_LIST_)) __dead2; void warn __P((const char *, ...)); void vwarn __P((const char *, _BSD_VA_LIST_)); void warnx __P((const char *, ...)); |