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.
This commit is contained in:
Stefan
2025-09-21 13:30:15 +02:00
parent 95d184cba1
commit 2f88764100

View File

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