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>
This commit is contained in:
Igor Grinberg
2011-11-07 01:13:57 +00:00
committed by Stefano Babic
parent e3150460a4
commit d1459f0fab
11 changed files with 2 additions and 24 deletions

View File

@ -55,9 +55,6 @@
#define CONFIG_ENV_RANGE CONFIG_ENV_SIZE
#endif
/* references to names in env_common.c */
extern uchar default_environment[];
char *env_name_spec = "NAND";