From a52c3ec43ce7abd889da0bf0424c61ca071fbf3c Mon Sep 17 00:00:00 2001 From: Edward Tomasz Napierala Date: Fri, 13 Mar 2015 20:14:55 +0000 Subject: [PATCH] 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 --- contrib/libxo/libxo/xo.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/contrib/libxo/libxo/xo.h b/contrib/libxo/libxo/xo.h index 82b965a29202..ea289f088b65 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);