mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 23:24:38 +00:00
cmd editing: mark erase/tab seqs constant
These strings are only read, so no need to have them be writable. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
This commit is contained in:
parent
d6efe244e4
commit
82359aec45
1 changed files with 2 additions and 2 deletions
|
@ -65,8 +65,8 @@ static int abortboot(int);
|
|||
char console_buffer[CONFIG_SYS_CBSIZE + 1]; /* console I/O buffer */
|
||||
|
||||
static char * delete_char (char *buffer, char *p, int *colp, int *np, int plen);
|
||||
static char erase_seq[] = "\b \b"; /* erase sequence */
|
||||
static char tab_seq[] = " "; /* used to expand TABs */
|
||||
static const char erase_seq[] = "\b \b"; /* erase sequence */
|
||||
static const char tab_seq[] = " "; /* used to expand TABs */
|
||||
|
||||
#ifdef CONFIG_BOOT_RETRY_TIME
|
||||
static uint64_t endtime = 0; /* must be set, default is instant timeout */
|
||||
|
|
Loading…
Reference in a new issue