Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Jan 2018 17:40:13 +0000 (UTC)
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r328441 - head/stand/libsa
Message-ID:  <201801261740.w0QHeDOg093130@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: imp
Date: Fri Jan 26 17:40:13 2018
New Revision: 328441
URL: https://svnweb.freebsd.org/changeset/base/328441

Log:
  abort() should be marked __dead2 since it won't return.

Modified:
  head/stand/libsa/stand.h

Modified: head/stand/libsa/stand.h
==============================================================================
--- head/stand/libsa/stand.h	Fri Jan 26 17:24:25 2018	(r328440)
+++ head/stand/libsa/stand.h	Fri Jan 26 17:40:13 2018	(r328441)
@@ -348,7 +348,7 @@ extern ev_unsethook_t	env_nounset;		/* refuse unset op
 
 /* stdlib.h routines */
 extern int		abs(int a);
-extern void		abort(void);
+extern void		abort(void) __dead2;
 
 /* BCD conversions (undocumented) */
 extern u_char const	bcd2bin_data[];



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201801261740.w0QHeDOg093130>