projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
38c38c3
)
Fix console_buffer size conflict error.
author
Remy Bohmer
<linux@bohmer.net>
Thu, 17 Jun 2010 19:17:08 +0000
(21:17 +0200)
committer
Wolfgang Denk
<wd@denx.de>
Tue, 29 Jun 2010 21:03:39 +0000
(23:03 +0200)
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>
common/hush.c
patch
|
blob
|
history
diff --git
a/common/hush.c
b/common/hush.c
index
06c5ff8
..
9eea90f
100644
(file)
--- 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];