shell: make shell_root_cmd_find function static

Function shell_root_cmd_find was only used in shell_utils.c file.
Hence it is changed to static and renamed to root_cmd_find.

Signed-off-by: Jakub Rzeszutko <jakub.rzeszutko@nordicsemi.no>
This commit is contained in:
Jakub Rzeszutko 2020-12-08 09:29:23 +01:00 committed by Carles Cufí
commit 31bc7d2d1e
2 changed files with 2 additions and 4 deletions

View file

@ -77,8 +77,6 @@ const struct shell_static_entry *shell_get_last_command(
struct shell_static_entry *dloc,
bool only_static);
const struct shell_static_entry *shell_root_cmd_find(const char *syntax);
void shell_spaces_trim(char *str);
static inline void transport_buffer_flush(const struct shell *shell)