summaryrefslogtreecommitdiff
path: root/common/env_flash.c
diff options
context:
space:
mode:
authorIgor Grinberg <grinberg@compulab.co.il>2011-11-07 01:13:57 +0000
committerStefano Babic <sbabic@denx.de>2011-11-22 08:39:25 +0100
commitd1459f0fab1ac145051a74094c96592c694f84af (patch)
tree315cf8f8cf8aac1480c43095fe2e36032128061c /common/env_flash.c
parente3150460a4fd3a7126bcbf1e225610e0d494c8fe (diff)
env: move extern default_environment[] to environment.h
Extract all extern declarations for default_environment[] out of c files into the environment.h header. Signed-off-by: Igor Grinberg <grinberg@compulab.co.il> Cc: Stefan Roese <sr@denx.de> Acked-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'common/env_flash.c')
-rw-r--r--common/env_flash.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/common/env_flash.c b/common/env_flash.c
index 8e415d72d37..d9f8fcb1ef4 100644
--- a/common/env_flash.c
+++ b/common/env_flash.c
@@ -74,8 +74,6 @@ static env_t *flash_addr_new = (env_t *)CONFIG_ENV_ADDR_REDUND;
static ulong end_addr_new = CONFIG_ENV_ADDR_REDUND + CONFIG_ENV_SECT_SIZE - 1;
#endif /* CONFIG_ENV_ADDR_REDUND */
-extern const uchar default_environment[];
-
uchar env_get_char_spec(int index)
{