mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-21 06:31:31 +00:00
environment: fix bug introduced by commit a8409f4f1a
env_get_char is not a function, but a pointer to one. Signed-off-by: Wolfgang Denk <wd@denx.de>
This commit is contained in:
parent
35fca4c44d
commit
4f805c1e3a
1 changed files with 2 additions and 2 deletions
|
@ -107,8 +107,8 @@ typedef struct environment_s {
|
|||
unsigned char data[ENV_SIZE]; /* Environment data */
|
||||
} env_t;
|
||||
|
||||
/* Function that returns a character from the environment */
|
||||
unsigned char (*env_get_char)(int);
|
||||
/* Pointer to function that returns a character from the environment */
|
||||
extern unsigned char (*env_get_char)(int);
|
||||
|
||||
/* Function that returns a pointer to a value from the environment */
|
||||
unsigned char *env_get_addr(int);
|
||||
|
|
Loading…
Add table
Reference in a new issue