From 2f8876410044b3e8d26c79f1f7dfac5b7700a88c Mon Sep 17 00:00:00 2001 From: Stefan Date: Sun, 21 Sep 2025 13:30:15 +0200 Subject: [PATCH] libtcc.c: Remove unused defines free and realloc These defines are not used in the code below their definition. They are defined in tcc.h as well. --- libtcc.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/libtcc.c b/libtcc.c index 6cd7baee..f212981e 100644 --- a/libtcc.c +++ b/libtcc.c @@ -257,9 +257,6 @@ ST_FUNC void libc_free(void *ptr) free(ptr); } -#define free(p) use_tcc_free(p) -#define realloc(p, s) use_tcc_realloc(p, s) - /* global so that every tcc_alloc()/tcc_free() call doesn't need to be changed */ static void *(*reallocator)(void*, unsigned long) = default_reallocator;