libs/libc: correct config define of arch functions
Signed-off-by: chao an <anchao@xiaomi.com>
This commit is contained in:
parent
d3f659b854
commit
4fbf5f7a4b
@ -112,6 +112,22 @@ config LIBC_ARCH_STRRCHR
|
||||
bool
|
||||
default n
|
||||
|
||||
config LIBC_ARCH_STRCAT
|
||||
bool
|
||||
default n
|
||||
|
||||
config LIBC_ARCH_STRNCAT
|
||||
bool
|
||||
default n
|
||||
|
||||
config LIBC_ARCH_STRCASECMP
|
||||
bool
|
||||
default n
|
||||
|
||||
config LIBC_ARCH_STRNCASECMP
|
||||
bool
|
||||
default n
|
||||
|
||||
config LIBC_ARCH_ELF
|
||||
bool
|
||||
default n
|
||||
|
@ -31,7 +31,7 @@
|
||||
* Public Functions
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef CONFIG_ARCH_STRCASECMP
|
||||
#ifndef CONFIG_LIBC_ARCH_STRCASECMP
|
||||
#undef strcasecmp /* See mm/README.txt */
|
||||
int strcasecmp(FAR const char *cs, FAR const char *ct)
|
||||
{
|
||||
|
@ -30,7 +30,7 @@
|
||||
* Public Functions
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef CONFIG_ARCH_STRCAT
|
||||
#ifndef CONFIG_LIBC_ARCH_STRCAT
|
||||
#undef strcat /* See mm/README.txt */
|
||||
FAR char *strcat(FAR char *dest, FAR const char *src)
|
||||
{
|
||||
|
@ -32,7 +32,7 @@
|
||||
* Public Functions
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef CONFIG_ARCH_STRNCASECMP
|
||||
#ifndef CONFIG_LIBC_ARCH_STRNCASECMP
|
||||
#undef strncasecmp /* See mm/README.txt */
|
||||
int strncasecmp(FAR const char *cs, FAR const char *ct, size_t nb)
|
||||
{
|
||||
|
@ -30,7 +30,7 @@
|
||||
* Public Functions
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef CONFIG_ARCH_STRNCAT
|
||||
#ifndef CONFIG_LIBC_ARCH_STRNCAT
|
||||
#undef strncat /* See mm/README.txt */
|
||||
FAR char *strncat(FAR char *dest, FAR const char *src, size_t n)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user