]> git.dujemihanovic.xyz Git - u-boot.git/commit
cli: Drop #ifdefs for CONFIG_AUTO_COMPLETE in cli_readline
authorSimon Glass <sjg@chromium.org>
Mon, 2 Oct 2023 01:13:08 +0000 (19:13 -0600)
committerTom Rini <trini@konsulko.com>
Wed, 11 Oct 2023 19:43:54 +0000 (15:43 -0400)
commit6321391ac3e310081768b6170554d4f49416b5c2
tree9269b3981c7a34ccd68903d7cfd038ffb47e8780
parent039f8cc375fb9ad28def3403f2e3483c1ded571e
cli: Drop #ifdefs for CONFIG_AUTO_COMPLETE in cli_readline

Use a static inline and adjust the logic to avoid the need for #ifdefs in
cli_readline_into_buffer()

Signed-off-by: Simon Glass <sjg@chromium.org>
common/cli_readline.c
include/command.h