debug: rename assert() to xassert(), to avoid clashing with <assert.h>

This commit is contained in:
Craig Barnes 2021-01-16 20:16:00 +00:00
parent 22f25a9e4f
commit e56136ce11
31 changed files with 387 additions and 388 deletions

View file

@ -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));
}