[components][libc] 在rv32下编译时cstring.c中的strtok_r函数与libc.a中的strtok_r重定义,添加rt_weak

This commit is contained in:
Yaochenger 2022-12-19 09:41:56 +08:00 committed by Man, Jianting (Meco)
parent b256411736
commit 0df51b8aa9
1 changed files with 1 additions and 1 deletions

View File

@ -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;