From 0df51b8aa96ebac46684f58f199e3bc8c88d751e Mon Sep 17 00:00:00 2001 From: Yaochenger <1516081466@qq.com> Date: Mon, 19 Dec 2022 09:41:56 +0800 Subject: [PATCH] =?UTF-8?q?[components][libc]=20=E5=9C=A8rv32=E4=B8=8B?= =?UTF-8?q?=E7=BC=96=E8=AF=91=E6=97=B6cstring.c=E4=B8=AD=E7=9A=84strtok=5F?= =?UTF-8?q?r=E5=87=BD=E6=95=B0=E4=B8=8Elibc.a=E4=B8=AD=E7=9A=84strtok=5Fr?= =?UTF-8?q?=E9=87=8D=E5=AE=9A=E4=B9=89,=E6=B7=BB=E5=8A=A0rt=5Fweak?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/libc/compilers/common/cstring.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/libc/compilers/common/cstring.c b/components/libc/compilers/common/cstring.c index dec1213d79..733433598e 100644 --- a/components/libc/compilers/common/cstring.c +++ b/components/libc/compilers/common/cstring.c @@ -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;