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 | free(ptr); | 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 | /* global so that every tcc_alloc()/tcc_free() call doesn't need to be changed */ | 260 | /* global so that every tcc_alloc()/tcc_free() call doesn't need to be changed */ |
| 264 | static void *(*reallocator)(void*, unsigned long) = default_reallocator; | 261 | static void *(*reallocator)(void*, unsigned long) = default_reallocator; |
| 265 | 262 | ||