History

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.

Stefan committed 1 year ago

Commit 2f887641 parent 95d184c1 file · +0 −3Browse files

Unified · Split

libtcc.c+0−3
@@ -257,9 +257,6 @@ ST_FUNC void libc_free(void *ptr) · 256 unmodified lines
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

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t