add #undef for some libc function

since it's useful to redirect these functions to others
sometime(e.g. validate the memory before write).

Change-Id: I6253a9231af8809e8362f4bc5a1bd67fb094c3b0
This commit is contained in:
mage1
2021-04-14 15:43:16 +08:00
committed by Gustavo Henrique Nihei
parent 82c17fd6fa
commit def007e2d7
40 changed files with 81 additions and 0 deletions
+1
View File
@@ -50,6 +50,7 @@
*
****************************************************************************/
#undef realloc /* See mm/README.txt */
FAR void *realloc(FAR void *oldmem, size_t size)
{
#if defined(CONFIG_ARCH_ADDRENV) && defined(CONFIG_BUILD_KERNEL)