提交 1f9d10f6 编写于 作者: R Remy Bohmer 提交者: Wolfgang Denk

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: NRemy Bohmer <linux@bohmer.net>
上级 75997dc5
......@@ -1018,7 +1018,7 @@ static void get_user_input(struct in_str *i)
fflush(stdout);
i->p = the_command;
#else
extern char console_buffer[CONFIG_SYS_CBSIZE];
extern char console_buffer[];
int n;
static char the_command[CONFIG_SYS_CBSIZE];
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册