summaryrefslogtreecommitdiffstats
path: root/lib/zassert.h
Commit message (Collapse)AuthorAgeFilesLines
* revert: don't bother with gcc builtin_expect()Stephen Hemminger2009-02-091-8/+8
| | | | Doesn't really help and unlikely to get upstream (pun intended).
* Fix inversion of likely/unlikely in assertStephen Hemminger2008-12-021-11/+3
|
* Mark assert() tests as unlikelyStephen Hemminger2008-08-081-3/+11
| | | | | This forces compiler to generate the more common code on the faster path.
* Need RCS Id keyword.ajs2004-12-031-0/+4
|
* 2004-11-24 Andrew J. Schorr <ajschorr@alumni.princeton.edu>ajs2004-11-241-0/+23
* zassert.h: New header file to declare a quagga-specific assert macro. * log.c: (_zlog_assert_failed) New function called when assert fails to log the error and abort. * zebra.h: Include "zassert.h" instead of <assert.h>. * regex.c: Include "zassert.h" instead of <assert.h>. * dict.c: Include "zassert.h" instead of <assert.h>.