Skip to content

Commit ec900a7

Browse files
wdfk-progmysterywolf
authored andcommittedDec 8, 2024
fix:[klib]Kconfig显示文案错误
1 parent 6876cb6 commit ec900a7

File tree

1 file changed

+2
-14
lines changed

1 file changed

+2
-14
lines changed
 

Diff for: ‎src/klibc/Kconfig

+2-14
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ menu "klibc options"
220220
endif
221221
endmenu # rt_strncmp options
222222

223-
menu "rt_strncmp options"
223+
menu "rt_strcmp options"
224224
config RT_KLIBC_USING_USER_STRCMP
225225
bool "Enable rt_strcmp to use user-defined version"
226226
default n
@@ -230,19 +230,7 @@ menu "klibc options"
230230
bool "Enable rt_strcmp to use libc strcmp"
231231
default n
232232
endif
233-
endmenu # rt_strncmp options
234-
235-
menu "rt_strncmp options"
236-
config RT_KLIBC_USING_USER_STRLEN
237-
bool "Enable rt_strlen to use user-defined version"
238-
default n
239-
240-
if !RT_KLIBC_USING_USER_STRLEN
241-
config RT_KLIBC_USING_LIBC_STRLEN
242-
bool "Enable rt_strlen to use libc strlen"
243-
default n
244-
endif
245-
endmenu # rt_strncmp options
233+
endmenu # rt_strcmp options
246234

247235
menu "rt_strlen options"
248236
config RT_KLIBC_USING_USER_STRLEN

0 commit comments

Comments
 (0)