mirror of
https://xff.cz/git/u-boot/
synced 2025-10-18 08:23:24 +02:00
Add cli_ prefix to readline functions
This makes it clear where the code resides. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -1865,11 +1865,12 @@ unsigned long long fsl_ddr_interactive(fsl_ddr_info_t *pinfo, int var_is_set)
|
||||
} else {
|
||||
/*
|
||||
* No need to worry for buffer overflow here in
|
||||
* this function; readline() maxes out at CFG_CBSIZE
|
||||
* this function; cli_readline() maxes out at
|
||||
* CFG_CBSIZE
|
||||
*/
|
||||
readline_into_buffer(prompt, buffer, 0);
|
||||
cli_readline_into_buffer(prompt, buffer, 0);
|
||||
}
|
||||
argc = parse_line(buffer, argv);
|
||||
argc = cli_simple_parse_line(buffer, argv);
|
||||
if (argc == 0)
|
||||
continue;
|
||||
|
||||
|
Reference in New Issue
Block a user