From: Remy Bohmer Date: Thu, 17 Jun 2010 19:17:08 +0000 (+0200) Subject: Fix console_buffer size conflict error. X-Git-Tag: v2010.06~5 X-Git-Url: https://git.kernelconcepts.de/?a=commitdiff_plain;h=0d7f4abcf6bbef06504c82e03f11054468262430;p=karo-tx-uboot.git 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 --- diff --git a/common/hush.c b/common/hush.c index 06c5ff8df4..9eea90f428 100644 --- a/common/hush.c +++ b/common/hush.c @@ -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];