shell: internal api update: history module

Add prefix z_ to internal functions handling history feature.

Signed-off-by: Jakub Rzeszutko <jakub.rzeszutko@nordicsemi.no>
This commit is contained in:
Jakub Rzeszutko 2020-12-07 10:25:28 +01:00 committed by Carles Cufí
commit 91b01ce703
6 changed files with 68 additions and 66 deletions

View file

@ -287,8 +287,8 @@ static int cmd_history(const struct shell *shell, size_t argc, char **argv)
uint16_t len;
while (1) {
shell_history_get(shell->history, true,
shell->ctx->temp_buff, &len);
z_shell_history_get(shell->history, true,
shell->ctx->temp_buff, &len);
if (len) {
shell_print(shell, "[%3d] %s",