mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 00:32:04 +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:
@@ -484,7 +484,7 @@ static int cread_line(const char *const prompt, char *buf, unsigned int *len,
|
||||
|
||||
/****************************************************************************/
|
||||
|
||||
int readline(const char *const prompt)
|
||||
int cli_readline(const char *const prompt)
|
||||
{
|
||||
/*
|
||||
* If console_buffer isn't 0-length the user will be prompted to modify
|
||||
@@ -492,11 +492,12 @@ int readline(const char *const prompt)
|
||||
*/
|
||||
console_buffer[0] = '\0';
|
||||
|
||||
return readline_into_buffer(prompt, console_buffer, 0);
|
||||
return cli_readline_into_buffer(prompt, console_buffer, 0);
|
||||
}
|
||||
|
||||
|
||||
int readline_into_buffer(const char *const prompt, char *buffer, int timeout)
|
||||
int cli_readline_into_buffer(const char *const prompt, char *buffer,
|
||||
int timeout)
|
||||
{
|
||||
char *p = buffer;
|
||||
#ifdef CONFIG_CMDLINE_EDITING
|
||||
|
Reference in New Issue
Block a user