mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-11-19 05:10:40 +00:00
Added comment about mem_realloc() vs. realloc()
This commit is contained in:
parent
3529349470
commit
39df7d048c
@ -58,6 +58,8 @@ typedef size_t mem_size_t;
|
||||
#ifndef mem_calloc
|
||||
#define mem_calloc calloc
|
||||
#endif
|
||||
/* ATTENTION: using realloc is currently not supported since the return value
|
||||
is ignored, so don't define mem_realloc() to realloc()! */
|
||||
#ifndef mem_realloc
|
||||
#define mem_realloc(mem, size) (mem)
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user