mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
env: Always use char for default_environment
Sometimes we use uchar and sometimes char for the default environment array. By always using char, we can get rid of some explicit casts. Signed-off-by: Marek Behún <marek.behun@nic.cz> Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -112,9 +112,9 @@ extern env_t embedded_environment;
|
||||
#endif /* ENV_IS_EMBEDDED */
|
||||
|
||||
#ifdef DEFAULT_ENV_IS_RW
|
||||
extern unsigned char default_environment[];
|
||||
extern char default_environment[];
|
||||
#else
|
||||
extern const unsigned char default_environment[];
|
||||
extern const char default_environment[];
|
||||
#endif
|
||||
|
||||
#ifndef DO_DEPS_ONLY
|
||||
|
||||
Reference in New Issue
Block a user