These defines are not used in the code below their definition. They are defined in tcc.h as well.
Unified · Split
| @@ -257,9 +257,6 @@ ST_FUNC void libc_free(void *ptr) · 256 unmodified lines | ||
| 257 | 257 | free(ptr); |
| 258 | 258 | } |
| 259 | 259 | |
| 260 | −#define free(p) use_tcc_free(p) | |
| 261 | −#define realloc(p, s) use_tcc_realloc(p, s) | |
| 262 | − | |
| 263 | 260 | /* global so that every tcc_alloc()/tcc_free() call doesn't need to be changed */ |
| 264 | 261 | static void *(*reallocator)(void*, unsigned long) = default_reallocator; |
| 265 | 262 | |