From 13161d4a8707f6a6fb33f775f1a47c1786063f82 Mon Sep 17 00:00:00 2001 From: wdfk-prog <1425075683@qq.com> Date: Sun, 8 Dec 2024 11:14:43 +0800 Subject: [PATCH] =?UTF-8?q?fix:[klib]Kconfig=E6=98=BE=E7=A4=BA=E6=96=87?= =?UTF-8?q?=E6=A1=88=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/klibc/Kconfig | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/src/klibc/Kconfig b/src/klibc/Kconfig index 3bbcfa160c8..0b00d10b8e8 100644 --- a/src/klibc/Kconfig +++ b/src/klibc/Kconfig @@ -220,7 +220,7 @@ menu "klibc options" endif endmenu # rt_strncmp options - menu "rt_strncmp options" + menu "rt_strcmp options" config RT_KLIBC_USING_USER_STRCMP bool "Enable rt_strcmp to use user-defined version" default n @@ -230,19 +230,7 @@ menu "klibc options" bool "Enable rt_strcmp to use libc strcmp" default n endif - endmenu # rt_strncmp options - - menu "rt_strncmp options" - config RT_KLIBC_USING_USER_STRLEN - bool "Enable rt_strlen to use user-defined version" - default n - - if !RT_KLIBC_USING_USER_STRLEN - config RT_KLIBC_USING_LIBC_STRLEN - bool "Enable rt_strlen to use libc strlen" - default n - endif - endmenu # rt_strncmp options + endmenu # rt_strcmp options menu "rt_strlen options" config RT_KLIBC_USING_USER_STRLEN