diff options
author | trasz <trasz@FreeBSD.org> | 2015-03-13 20:14:55 +0000 |
---|---|---|
committer | trasz <trasz@FreeBSD.org> | 2015-03-13 20:14:55 +0000 |
commit | 7d3392b49aed5a526de844def0b8ee8c461488e8 (patch) | |
tree | 1d8b74911f02e0bd41e63c959465731704ccf211 /contrib/libxo | |
parent | 9d7a73f9565c449b34f0721ca58bc13169d984b7 (diff) | |
download | FreeBSD-src-7d3392b49aed5a526de844def0b8ee8c461488e8.zip FreeBSD-src-7d3392b49aed5a526de844def0b8ee8c461488e8.tar.gz |
Mark xo_err(3), xo_errx(3), and xo_errc(3) as __dead2.
Differential Revision: https://reviews.freebsd.org/D2059
Reviewed by: marcel@
MFC after: 1 month
Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'contrib/libxo')
-rw-r--r-- | contrib/libxo/libxo/xo.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/libxo/libxo/xo.h b/contrib/libxo/libxo/xo.h index 82b965a..ea289f0 100644 --- a/contrib/libxo/libxo/xo.h +++ b/contrib/libxo/libxo/xo.h @@ -272,13 +272,13 @@ void xo_warnx (const char *fmt, ...); void -xo_err (int eval, const char *fmt, ...); +xo_err (int eval, const char *fmt, ...) __dead2; void -xo_errx (int eval, const char *fmt, ...); +xo_errx (int eval, const char *fmt, ...) __dead2; void -xo_errc (int eval, int code, const char *fmt, ...); +xo_errc (int eval, int code, const char *fmt, ...) __dead2; void xo_message_hcv (xo_handle_t *xop, int code, const char *fmt, va_list vap); |