Skip to content

Commit 2f88764

Browse files
author
Stefan
committed
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.
1 parent 95d184c commit 2f88764

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

libtcc.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -257,9 +257,6 @@ ST_FUNC void libc_free(void *ptr)
257257
free(ptr);
258258
}
259259

260-
#define free(p) use_tcc_free(p)
261-
#define realloc(p, s) use_tcc_realloc(p, s)
262-
263260
/* global so that every tcc_alloc()/tcc_free() call doesn't need to be changed */
264261
static void *(*reallocator)(void*, unsigned long) = default_reallocator;
265262

0 commit comments

Comments
 (0)