[components][libc] 在rv32下编译时cstring.c中的strtok_r函数与libc.a中的strtok_r重定义,添加rt_weak
This commit is contained in:
parent
b256411736
commit
0df51b8aa9
|
@ -182,7 +182,7 @@ char *strndup(const char *s, size_t size)
|
|||
return news;
|
||||
}
|
||||
|
||||
char *strtok_r(char *str, const char *delim, char **saveptr)
|
||||
rt_weak char *strtok_r(char *str, const char *delim, char **saveptr)
|
||||
{
|
||||
char *pbegin;
|
||||
char *pend = NULL;
|
||||
|
|
Loading…
Reference in New Issue