summaryrefslogtreecommitdiff
path: root/common/cmd_nvedit.c
diff options
context:
space:
mode:
authorIgor Grinberg <grinberg@compulab.co.il>2011-11-07 01:13:56 +0000
committerStefano Babic <sbabic@denx.de>2011-11-22 08:39:25 +0100
commite3150460a4fd3a7126bcbf1e225610e0d494c8fe (patch)
tree5eda913e1ef06656f20063c6ea9f050c4b403760 /common/cmd_nvedit.c
parent507651d611897442cb871ad1f5ad6c8d2113dea0 (diff)
downloadu-boot-imx-e3150460a4fd3a7126bcbf1e225610e0d494c8fe.zip
u-boot-imx-e3150460a4fd3a7126bcbf1e225610e0d494c8fe.tar.gz
u-boot-imx-e3150460a4fd3a7126bcbf1e225610e0d494c8fe.tar.bz2
common: move extern char console_buffer[] to common.h
Extract all extern declarations for console_buffer[] out of c files into the common.h header. Signed-off-by: Igor Grinberg <grinberg@compulab.co.il> Cc: Frank Gottschling <fgottschling@eltec.de> Cc: Murray Jensen <Murray.Jensen@csiro.au>
Diffstat (limited to 'common/cmd_nvedit.c')
-rw-r--r--common/cmd_nvedit.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/common/cmd_nvedit.c b/common/cmd_nvedit.c
index 3beca5e..80fd132 100644
--- a/common/cmd_nvedit.c
+++ b/common/cmd_nvedit.c
@@ -423,7 +423,6 @@ int do_env_set(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
#if defined(CONFIG_CMD_ASKENV)
int do_env_ask(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
{
- extern char console_buffer[CONFIG_SYS_CBSIZE];
char message[CONFIG_SYS_CBSIZE];
int size = CONFIG_SYS_CBSIZE - 1;
int i, len, pos;