From e56136ce1192d04a52b01ccb41284f0b7896430e Mon Sep 17 00:00:00 2001 From: Craig Barnes Date: Sat, 16 Jan 2021 20:16:00 +0000 Subject: debug: rename assert() to xassert(), to avoid clashing with --- xmalloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xmalloc.c') diff --git a/xmalloc.c b/xmalloc.c index 8fb78f49..16b3565a 100644 --- a/xmalloc.c +++ b/xmalloc.c @@ -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)); } -- cgit v1.3