Define __dead and __pure even if __STRICT_ANSI__ for compilers that
authorkettenis <kettenis@openbsd.org>
Fri, 14 Apr 2017 07:22:02 +0000 (07:22 +0000)
committerkettenis <kettenis@openbsd.org>
Fri, 14 Apr 2017 07:22:02 +0000 (07:22 +0000)
commit7757c787c46f10e9276a4eef51b897fe6f6e9e23
tree0e0dd8e26ab71a65beaa02afa2324b6e326a7c92
parent0027305c56c2195d452a1f8314b461e2eed457ef
Define __dead and __pure even if __STRICT_ANSI__ for compilers that
support GCC's __attribute__ syntax.  Fixes several warnings when compiling
code with clang with -std=c++11 or some other strict ISO standard.

ok millert@, guenther@
sys/sys/cdefs.h