CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2019/03/13 12:29:27
Modified files:
usr.bin/mandoc : man_validate.c mdoc_validate.c
Log message:
Contrary to what the NetBSD attribute(3) manual page suggests,
using __dead instead of __attribute__((__noreturn__)) actually
hinders portability rather than helping it.
Given that mandoc already uses __attribute__ in several files
and that in the portable version, ./configure already contains
rudimentary support for ignoring it on platforms that do not
support it, use __attribute__ directly.
This is expected to fix build failures that Stephen Gregoratto
<dev at sgregoratto dot me> reported from Arch and Debian Linux.