Skip to content

Commit

Permalink
libc/machine: fix config error
Browse files Browse the repository at this point in the history
Signed-off-by: wangmingrong1 <[email protected]>
  • Loading branch information
W-M-R authored and jerpelea committed Dec 27, 2024
1 parent 8f398a1 commit d4161bd
Showing 1 changed file with 2 additions and 2 deletions.
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

0 comments on commit d4161bd

Please sign in to comment.