diff options
| author | Tom Rini <[email protected]> | 2023-12-20 16:00:22 -0500 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2023-12-20 16:00:22 -0500 |
| commit | 36d3db6c2c060ee85176156dc9a607e8cd5465f4 (patch) | |
| tree | 51f6187c51418043e5dc56f6f9a2dac09e2e848d /common/command.c | |
| parent | a0d0e132b39e48cf471db87600ed87b4e65bc187 (diff) | |
| parent | 97135d9f4220e54b38f69a3f2416b2fd9d8f378c (diff) | |
Merge branch '2023-12-20-assorted-general-updates' into next
- Assorted fixes around the tree
Diffstat (limited to 'common/command.c')
| -rw-r--r-- | common/command.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/common/command.c b/common/command.c index 846e16e2ada..7821c273dae 100644 --- a/common/command.c +++ b/common/command.c @@ -355,10 +355,9 @@ static int find_common_prefix(char *const argv[]) return len; } -static char tmp_buf[CONFIG_SYS_CBSIZE + 1]; /* copy of console I/O buffer */ - int cmd_auto_complete(const char *const prompt, char *buf, int *np, int *colp) { + char tmp_buf[CONFIG_SYS_CBSIZE + 1]; /* copy of console I/O buffer */ int n = *np, col = *colp; char *argv[CONFIG_SYS_MAXARGS + 1]; /* NULL terminated */ char *cmdv[20]; |
