summaryrefslogtreecommitdiff
path: root/include/environment.h
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 /include/environment.h
parente3150460a4fd3a7126bcbf1e225610e0d494c8fe (diff)
downloadu-boot-imx-d1459f0fab1ac145051a74094c96592c694f84af.zip
u-boot-imx-d1459f0fab1ac145051a74094c96592c694f84af.tar.gz
u-boot-imx-d1459f0fab1ac145051a74094c96592c694f84af.tar.bz2
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 'include/environment.h')
-rw-r--r--include/environment.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/environment.h b/include/environment.h
index 2c8c4f1..20775da 100644
--- a/include/environment.h
+++ b/include/environment.h
@@ -154,6 +154,8 @@ typedef struct environment_s {
unsigned char data[ENV_SIZE]; /* Environment data */
} env_t;
+extern const unsigned char default_environment[];
+
#ifndef DO_DEPS_ONLY
#include <search.h>