diff options
author | Simon Glass <sjg@chromium.org> | 2014-04-10 20:01:27 -0600 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-05-29 17:45:31 -0400 |
commit | e1bf824dfd6881f6f633238c275bfa1e5d83c433 (patch) | |
tree | 4d43bd0b4d0fdae2f737c2ad9670005300dea87f /common/cli_simple.c | |
parent | 6493ccc7cf2357081267effffa7d345e50d68d00 (diff) | |
download | u-boot-imx-e1bf824dfd6881f6f633238c275bfa1e5d83c433.zip u-boot-imx-e1bf824dfd6881f6f633238c275bfa1e5d83c433.tar.gz u-boot-imx-e1bf824dfd6881f6f633238c275bfa1e5d83c433.tar.bz2 |
Add cli_ prefix to readline functions
This makes it clear where the code resides.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'common/cli_simple.c')
-rw-r--r-- | common/cli_simple.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/common/cli_simple.c b/common/cli_simple.c index 0610615..3039cfc 100644 --- a/common/cli_simple.c +++ b/common/cli_simple.c @@ -19,7 +19,7 @@ debug_cond(DEBUG_PARSER, fmt, ##args) -int parse_line(char *line, char *argv[]) +int cli_simple_parse_line(char *line, char *argv[]) { int nargs = 0; @@ -238,7 +238,7 @@ int cli_simple_run_command(const char *cmd, int flag) process_macros(token, finaltoken); /* Extract arguments */ - argc = parse_line(finaltoken, argv); + argc = cli_simple_parse_line(finaltoken, argv); if (argc == 0) { rc = -1; /* no command at all */ continue; @@ -272,7 +272,7 @@ void cli_loop(void) reset_cmd_timeout(); } #endif - len = readline(CONFIG_SYS_PROMPT); + len = cli_readline(CONFIG_SYS_PROMPT); flag = 0; /* assume no special flags for now */ if (len > 0) |