aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Rigby <john.rigby@linaro.org>2012-12-06 18:35:56 -0700
committerJohn Rigby <john.rigby@linaro.org>2012-12-06 18:38:09 -0700
commit102afa29de951a2aca93e75fa84d596c92634d05 (patch)
tree7d22f85143d8bb5d76c19eb1b8fbd9c5eec52e15
parent6f1911c6887c91e251db25bb9b823d2aa833b30f (diff)
downloadu-boot-linaro-next-highbank-rebase.tar.gz
fix build error with disabled command line editingHEADmasterhighbank-rebase
Signed-off-by: John Rigby <john.rigby@linaro.org>
-rw-r--r--common/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/main.c b/common/main.c
index 237af78da..4f8e68f88 100644
--- a/common/main.c
+++ b/common/main.c
@@ -929,9 +929,9 @@ int readline (const char *const prompt)
int readline_into_buffer(const char *const prompt, char *buffer, int timeout)
{
char *p = buffer;
+ int rc;
#ifdef CONFIG_CMDLINE_EDITING
unsigned int len = CONFIG_SYS_CBSIZE;
- int rc;
static int initted = 0;
/*