summaryrefslogtreecommitdiff
path: root/components/libc/compilers/common/cstring.c
diff options
context:
space:
mode:
Diffstat (limited to 'components/libc/compilers/common/cstring.c')
-rw-r--r--components/libc/compilers/common/cstring.c2
1 files changed, 1 insertions, 1 deletions
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;