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

View File

@@ -32,6 +32,7 @@
* Public Functions
****************************************************************************/
#undef strdup /* See mm/README.txt */
FAR char *strdup(FAR const char *s)
{
FAR char *news = NULL;