From 085b77730a553ce9769fcc76b68772dbde564004 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Thu, 9 May 2024 02:48:06 +0200 Subject: Add custom allocator support to u8upper() --- lib/alloc/heapalloc.c | 12 ------------ 1 file changed, 12 deletions(-) delete mode 100644 lib/alloc/heapalloc.c (limited to 'lib/alloc/heapalloc.c') diff --git a/lib/alloc/heapalloc.c b/lib/alloc/heapalloc.c deleted file mode 100644 index 0a698f0..0000000 --- a/lib/alloc/heapalloc.c +++ /dev/null @@ -1,12 +0,0 @@ -#include - -#include "alloc.h" - -void * -heapalloc(void *, void *ptr, size_t, size_t new) -{ - if (new > 0) - return realloc(ptr, new); - free(ptr); - return nullptr; -} -- cgit v1.2.3