mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 16:52:14 +02:00
constify default env
I can't see any obvious needs for the default environment to be writable, so make it const. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
This commit is contained in:
committed by
Wolfgang Denk
parent
c3eb3fe490
commit
147c7169e8
@@ -74,7 +74,7 @@ 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 uchar default_environment[];
|
||||
extern const uchar default_environment[];
|
||||
|
||||
|
||||
uchar env_get_char_spec(int index)
|
||||
|
Reference in New Issue
Block a user