mirror of
https://github.com/apache/nuttx.git
synced 2025-12-17 02:06:54 +08:00
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:
committed by
Gustavo Henrique Nihei
parent
82c17fd6fa
commit
def007e2d7
@@ -32,6 +32,7 @@
|
||||
* Public Functions
|
||||
****************************************************************************/
|
||||
|
||||
#undef strdup /* See mm/README.txt */
|
||||
FAR char *strdup(FAR const char *s)
|
||||
{
|
||||
FAR char *news = NULL;
|
||||
|
||||
Reference in New Issue
Block a user