mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-02 00:03:45 +09:00
Fix console_buffer size conflict error.
The console_buffer size is declared in common/main.c as -- char console_buffer[CONFIG_SYS_CBSIZE + 1]; so this extern definition is wrong. Signed-off-by: Remy Bohmer <linux@bohmer.net>
This commit is contained in:
parent
38c38c344c
commit
0d7f4abcf6
@ -1018,7 +1018,7 @@ static void get_user_input(struct in_str *i)
|
|||||||
fflush(stdout);
|
fflush(stdout);
|
||||||
i->p = the_command;
|
i->p = the_command;
|
||||||
#else
|
#else
|
||||||
extern char console_buffer[CONFIG_SYS_CBSIZE];
|
extern char console_buffer[];
|
||||||
int n;
|
int n;
|
||||||
static char the_command[CONFIG_SYS_CBSIZE];
|
static char the_command[CONFIG_SYS_CBSIZE];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user