diff options
author | Simon Glass <sjg@chromium.org> | 2023-10-01 19:13:11 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-10-11 15:43:54 -0400 |
commit | be5c2edd10cc0c5c1b938fc03bc7e7c35801a0bd (patch) | |
tree | 4477b6b420aba2946cbe9f12335c2f6c3a65a5e1 /tools | |
parent | fedd372976f499afb71f854f401cf3a4432ab8ec (diff) | |
download | u-boot-be5c2edd10cc0c5c1b938fc03bc7e7c35801a0bd.tar.gz u-boot-be5c2edd10cc0c5c1b938fc03bc7e7c35801a0bd.tar.bz2 u-boot-be5c2edd10cc0c5c1b938fc03bc7e7c35801a0bd.zip |
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>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions