Go to file
kamil 7798b8a775 Import <stdnoreturn.h>
This header conforms to the C11 standard
Reference: ISO/IEC 9899:201x 7.23 _Noreturn <stdnoreturn.h>

According to ISO/IEC 9899:201x (draft) <stdnoreturn.> defines the
noreturn macro which expands to _Noreturn.

The _Noreturn keyword appears in a function declaration and specifies
that the function does not return by reaching the end of the function
body.

Design choices:
 - don't implicitly break C++ code including this header with #error
   C++11 offers [[noreturn]] which conflicts with C11 _Noreturn

 - don't check for __STDC_VERSION__, everybody is free to reuse it with
   a nonstandard compiler not conforming to C11 but supporting _Noreturn

   gcc(1) and clang(1) support _Noreturn in -std=c99 and older standards

   this follows <stdbool.h> choice for not checking for C99

 - follow <stdbool.h> and declare the __noreturn_is_defined guard

 - use a standard header guard (_STDNORETURN_H_), similar to <stdbool.h>

Reviewed by <pgoyette> and <joerg>
2016-10-02 13:09:24 +00:00
bin Drop main() prototype. 2016-09-05 01:00:07 +00:00
common PR port-ia64/51261 2016-08-05 15:06:02 +00:00
compat remove the xfree86 reachover makefiles and the vast majority of 2015-07-23 08:03:24 +00:00
crypto Add section number to the Xrefs 2016-09-12 16:54:31 +00:00
dist/pf PR 50709 David Binderman: memory leak 2016-05-30 17:21:07 +00:00
distrib Import <stdnoreturn.h> 2016-10-02 13:09:24 +00:00
doc Note tzdata update to 2016g 2016-09-29 20:44:06 +00:00
etc Fix to cannnot be opened a nvme(4) namespace device file. 2016-09-08 15:00:08 +00:00
external Merge tzdata2016g 2016-09-29 20:41:33 +00:00
extsrc
games Fix another place with a wrong author of "Unkempt Thoughts" 2016-08-28 19:44:44 +00:00
gnu has moved to external/gpl3 2016-01-16 18:41:12 +00:00
include Import <stdnoreturn.h> 2016-10-02 13:09:24 +00:00
lib Be more careful about preserving errno. Might conceivably be related 2016-09-30 06:22:21 +00:00
libexec Missed in previous: exit 1 if html_cmp says no match. 2016-09-26 00:21:22 +00:00
regress Fix the mmap call, KNF, and make the output more readable. 2016-09-03 08:47:38 +00:00
rescue vnconfig(8) was renamed to vndconfig(8) some time ago, and most places 2016-08-04 03:50:55 +00:00
sbin Return to printing explicit "netmask 0x...." in the case that the 2016-10-01 20:59:49 +00:00
share Add NetBSD 7.0.1 2016-09-29 15:10:37 +00:00
sys Simplify. LOONGSON2 and MIPSNNR2 not possible. 2016-10-02 09:06:35 +00:00
tests More adaptation to changed ifconfig output format. 2016-10-02 04:46:07 +00:00
tools Add exec_ecoff.h 2016-09-14 00:41:04 +00:00
usr.bin define the attribute first. 2016-09-13 16:06:59 +00:00
usr.sbin Sprinkle some RCSID loving. 2016-09-29 15:25:28 +00:00
BUILDING Document MKREPRO_TIMESTAMP. 2016-01-29 13:51:13 +00:00
Makefile fix direct reference to texinfo, bleh 2016-01-14 02:51:25 +00:00
Makefile.inc
UPDATING switch amd64, i386, shark, ofppc and macppc to xorg-server 1.18. 2016-09-15 07:49:08 +00:00
build.sh When setting TOP the idea is to run the [/usr]/bin/pwd binary, and 2016-06-03 00:00:01 +00:00