mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-22 01:40:17 -05:00
debug: rename assert() to xassert(), to avoid clashing with <assert.h>
This commit is contained in:
parent
22f25a9e4f
commit
e56136ce11
31 changed files with 387 additions and 388 deletions
|
|
@ -28,7 +28,7 @@ xmalloc(size_t size)
|
|||
void *
|
||||
xcalloc(size_t nmemb, size_t size)
|
||||
{
|
||||
assert(size != 0);
|
||||
xassert(size != 0);
|
||||
return check_alloc(calloc(likely(nmemb) ? nmemb : 1, size));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue