Commit 4f805c1e3a60b9263da8ec3bcd1f45edcefa7dcf
1 parent
35fca4c44d
Exists in
master
and in
54 other branches
environment: fix bug introduced by commit a8409f4f1ac8
env_get_char is not a function, but a pointer to one. Signed-off-by: Wolfgang Denk <wd@denx.de>
Showing 1 changed file with 2 additions and 2 deletions Side-by-side Diff
include/environment.h
... | ... | @@ -107,8 +107,8 @@ |
107 | 107 | unsigned char data[ENV_SIZE]; /* Environment data */ |
108 | 108 | } env_t; |
109 | 109 | |
110 | -/* Function that returns a character from the environment */ | |
111 | -unsigned char (*env_get_char)(int); | |
110 | +/* Pointer to function that returns a character from the environment */ | |
111 | +extern unsigned char (*env_get_char)(int); | |
112 | 112 | |
113 | 113 | /* Function that returns a pointer to a value from the environment */ |
114 | 114 | unsigned char *env_get_addr(int); |