summaryrefslogtreecommitdiff
path: root/include/assert.h
AgeCommit message (Collapse)Author
2003-08-07Move UCB-licensed code from 4-clause to 3-clause licence.agc
Patches provided by Joel Baker in PR 22270, verified by myself.
2003-06-05EBENISANIDIOT: Remove a spurious '#endif' that crept in under the radar.bjh21
2003-06-05Namespace cleanup: _assert is in the application's namespace, and thus shouldbjh21
only be exposed if _NETBSD_SOURCE is defined. To make life less complicated, define _assert() in terms of assert(), since they always seem to have identical definitions. _assert() was removed back in 1993, but got reinstated with the 4.4Lite import. Maybe it should go again. Nothing in the tree uses it.
2001-05-06Employ __static_cast(); suggested by Dave Sainty in PR lib/11766.kleink
2000-12-20avoid multiple declarations.christos
2000-12-19C99: Print the name of the function enclosing the assertion, if possible.kleink
2000-08-07#ifdef __STDC__ -> #if __STDC__kleink
1999-09-15if _DIAGNOSTIC is defined, define _DIAGASSERT() to call __diagassert(),lukem
otherwise it's a no-op. prototype __diagassert().
1998-11-14Define assert and _assert macros for lint when NDEBUG is present as nothing.christos
1994-10-26new RCS ID format.cgd
1994-05-16update all but ctype.h, dumprestore.h, time.h to 4.4-Lite versions.cgd
USL copyright additions on those. Kill varargs.h, because it can simply be a link to the machine-dependent version.
1993-10-07Use _ASSERT_H_ guard macro so that <sys/cdefs.h> is only included once andjtc
the __assert() helper function is declared once if <assert.h> is included multiple times. Don't support the _assert() macro, nothing uses it and it pollutes the user's namespace.
1993-08-01Add RCS identifiers.mycroft
1993-06-16Make assert macro ansi complient.jtc
1993-03-21initial import of 386bsd-0.1 sourcescgd