Date: Sun, 9 Jan 2011 21:39:46 +0000 (UTC) From: Ed Schouten <ed@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/include assert.h Message-ID: <201101092139.p09Ldspk095872@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
ed 2011-01-09 21:39:46 UTC
FreeBSD src repository
Modified files:
include assert.h
Log:
SVN rev 217207 on 2011-01-09 21:39:46Z by ed
Add missing __dead2 to __assert().
__assert() is called when an assertion fails. After printing an error
message, it will call abort(). abort() never returns, hence it has the
__dead2 attribute. Also add this attribute to __assert().
MFC after: 3 weeks
Revision Changes Path
1.8 +1 -1 src/include/assert.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201101092139.p09Ldspk095872>
