Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions libs/libc/machine/arch_libc.c
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ FAR char *ARCH_LIBCFUN(strcpy)(FAR char *dest, FAR const char *src);
size_t ARCH_LIBCFUN(strlen)(FAR const char *s);
#endif

#ifdef CONFIG_LIBC_ARCHSTRNCPY
#ifdef CONFIG_LIBC_ARCH_STRNCPY
FAR char *ARCH_LIBCFUN(strncpy)(FAR char *dest,
FAR const char *src, size_t n);
#endif
Expand Down Expand Up @@ -212,7 +212,7 @@ size_t strlen(FAR const char *s)
}
#endif

#ifdef CONFIG_LIBC_ARCHSTRNCPY
#ifdef CONFIG_LIBC_ARCH_STRNCPY
FAR char *strncpy(FAR char *dest, FAR const char *src, size_t n)
{
# ifdef CONFIG_MM_KASAN
Expand Down