svn commit: r279966 - head/contrib/libxo/libxo

Edward Tomasz Napierala trasz at FreeBSD.org
Fri Mar 13 20:14:56 UTC 2015


Author: trasz
Date: Fri Mar 13 20:14:55 2015
New Revision: 279966
URL: https://svnweb.freebsd.org/changeset/base/279966

Log:
  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

Modified:
  head/contrib/libxo/libxo/xo.h

Modified: head/contrib/libxo/libxo/xo.h
==============================================================================
--- head/contrib/libxo/libxo/xo.h	Fri Mar 13 20:14:35 2015	(r279965)
+++ head/contrib/libxo/libxo/xo.h	Fri Mar 13 20:14:55 2015	(r279966)
@@ -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);


More information about the svn-src-all mailing list