mirror of
https://github.com/TinyCC/tinycc.git
synced 2025-11-16 12:34:45 +00:00
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:
3
libtcc.c
3
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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user