commit | be5c2edd10cc0c5c1b938fc03bc7e7c35801a0bd | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Sun Oct 01 19:13:11 2023 -0600 |
committer | Tom Rini <trini@konsulko.com> | Wed Oct 11 15:43:54 2023 -0400 |
tree | 4477b6b420aba2946cbe9f12335c2f6c3a65a5e1 | |
parent | fedd372976f499afb71f854f401cf3a4432ab8ec [diff] |
cli: Convert cread_line() to use a struct for the main vars We want to reuse the editing code elsewhere. As a first step, move the common variables into a struct. This will allow us to eventually put the contents of the inner loop in a function, so it can be called from elsewhere. Signed-off-by: Simon Glass <sjg@chromium.org>