shell: internal api update: wildcards

Mark global wildcard functions with z_ prefix.

Signed-off-by: Jakub Rzeszutko <jakub.rzeszutko@nordicsemi.no>
This commit is contained in:
Jakub Rzeszutko 2020-12-06 11:47:36 +01:00 committed by Carles Cufí
commit 58c7114c17
4 changed files with 14 additions and 14 deletions

View file

@ -630,7 +630,7 @@ static int execute(const struct shell *shell)
}
if (IS_ENABLED(CONFIG_SHELL_WILDCARD)) {
shell_wildcard_prepare(shell);
z_shell_wildcard_prepare(shell);
}
/* Parent present means we are in select mode. */
@ -680,8 +680,8 @@ static int execute(const struct shell *shell)
if (IS_ENABLED(CONFIG_SHELL_WILDCARD) && (cmd_lvl > 0)) {
enum shell_wildcard_status status;
status = shell_wildcard_process(shell, entry,
argvp[0]);
status = z_shell_wildcard_process(shell, entry,
argvp[0]);
/* Wildcard character found but there is no matching
* command.
*/
@ -747,7 +747,7 @@ static int execute(const struct shell *shell)
}
if (IS_ENABLED(CONFIG_SHELL_WILDCARD) && wildcard_found) {
shell_wildcard_finalize(shell);
z_shell_wildcard_finalize(shell);
/* cmd_buffer has been overwritten by function finalize function
* with all expanded commands. Hence shell_make_argv needs to
* be called again.