#
9f1f2f9e |
| 06-Sep-2020 |
millert <millert@openbsd.org> |
Use __STDC_VERSION__ instead of __ISO_C_VISIBLE to guard _Static_assert. We need to test what the compiler supports, not what the C library provides. This prevents static_assert from being defined w
Use __STDC_VERSION__ instead of __ISO_C_VISIBLE to guard _Static_assert. We need to test what the compiler supports, not what the C library provides. This prevents static_assert from being defined when compiling with the in-tree gcc (4.2.1) which does not support _Static_assert.
show more ...
|
#
18b823ae |
| 05-Sep-2020 |
bentley <bentley@openbsd.org> |
Add C11's static_assert.
tested in a bulk by naddy@ previously submitted by jsg@ and Martin Wanvik ok millert@
|
#
ca9d9491 |
| 26-Jun-2011 |
espie <espie@openbsd.org> |
half-guard the actual function prototypes. precludes -Wredundant-declarations with multiple includes.
okay millert@
|
#
4c5dd6d3 |
| 31-Jan-2006 |
hshoexer <hshoexer@openbsd.org> |
Annotate _assert()/__assert2() as __dead. As discussed with espie@, ok millert@
|
#
db31c4c7 |
| 13-Jan-2006 |
millert <millert@openbsd.org> |
Include the function name in assert() output. From espie@
|
#
f0fbfa02 |
| 15-Jul-2003 |
deraadt <deraadt@openbsd.org> |
proto _assert2()
|
#
e33d3bd3 |
| 02-Jun-2003 |
millert <millert@openbsd.org> |
Remove the advertising clause in the UCB license which Berkeley rescinded 22 July 1999. Proofed by myself and Theo.
|
#
f36e4a46 |
| 10-Jun-2002 |
espie <espie@openbsd.org> |
back-out header change for now.
|
#
023a5a1d |
| 10-Jun-2002 |
espie <espie@openbsd.org> |
put back in the assert changes for ISO C 99 (put __func__ in it)
|
#
3c140938 |
| 19-Apr-2002 |
deraadt <deraadt@openbsd.org> |
avoid cranking libc minors for another few weeks
|
#
bcb9deaf |
| 17-Apr-2002 |
espie <espie@openbsd.org> |
Use __func__ in assert. ok millert@
|
#
e7beb4a7 |
| 19-Feb-2002 |
millert <millert@openbsd.org> |
We live in an ANSI C world. Remove lots of gratuitous #ifdef __STDC__ cruft.
|
#
c72b5b24 |
| 16-Feb-2002 |
millert <millert@openbsd.org> |
Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be don
Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
show more ...
|
#
5ea2d675 |
| 21-Sep-1997 |
niklas <niklas@openbsd.org> |
Well, as we are heading for a release people are encouraged to rebuild their entire trees for testing anyway, I might as well do this intrusive touching of include files now. Added openBSD tags.
|
#
df930be7 |
| 18-Oct-1995 |
deraadt <deraadt@openbsd.org> |
initial import of NetBSD tree
|