commit | 07627c58b0f3c16e4577ad689f42ae8bf796dbaa | [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 | 9e6201e4718d09d4563e59ecad09d6edf8faddbb [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>