env: common: Make env_get_addr/get_char_memory() static
These functions are not used outside this file. Make them static and order them to avoid forward declarations. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
@@ -202,10 +202,6 @@ extern struct hsearch_data env_htab;
|
||||
/* Function that returns a character from the environment */
|
||||
unsigned char env_get_char(int);
|
||||
|
||||
/* Function that returns a pointer to a value from the environment */
|
||||
const unsigned char *env_get_addr(int);
|
||||
unsigned char env_get_char_memory(int index);
|
||||
|
||||
/* Function that updates CRC of the enironment */
|
||||
void env_crc_update(void);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user