mirror of
https://xff.cz/git/u-boot/
synced 2025-09-03 09:42:22 +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
@@ -160,7 +160,7 @@ extern struct hsearch_data env_htab;
|
||||
unsigned char env_get_char (int);
|
||||
|
||||
/* Function that returns a pointer to a value from the environment */
|
||||
unsigned char *env_get_addr(int);
|
||||
const unsigned char *env_get_addr(int);
|
||||
unsigned char env_get_char_memory (int index);
|
||||
|
||||
/* Function that updates CRC of the enironment */
|
||||
|
Reference in New Issue
Block a user