projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
env: move extern environment[] to environment.h
[platform/kernel/u-boot.git]
/
include
/
environment.h
diff --git
a/include/environment.h
b/include/environment.h
index
2c8c4f1
..
951803f
100644
(file)
--- a/
include/environment.h
+++ b/
include/environment.h
@@
-154,6
+154,12
@@
typedef struct environment_s {
unsigned char data[ENV_SIZE]; /* Environment data */
} env_t;
+#ifdef ENV_IS_EMBEDDED
+extern env_t environment;
+#endif /* ENV_IS_EMBEDDED */
+
+extern const unsigned char default_environment[];
+
#ifndef DO_DEPS_ONLY
#include <search.h>