diff options
author | Wolfgang Denk <wd@denx.de> | 2008-05-14 23:34:53 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-05-14 23:36:10 +0200 |
commit | 4f805c1e3a60b9263da8ec3bcd1f45edcefa7dcf (patch) | |
tree | 554a6ac0c4eff6d60bf70f417d3fa19bfbb4ba92 | |
parent | 35fca4c44d429ae6f2f4feae6dd4b30a72449906 (diff) | |
download | u-boot-4f805c1e3a60b9263da8ec3bcd1f45edcefa7dcf.tar.gz u-boot-4f805c1e3a60b9263da8ec3bcd1f45edcefa7dcf.tar.bz2 u-boot-4f805c1e3a60b9263da8ec3bcd1f45edcefa7dcf.zip |
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>
-rw-r--r-- | include/environment.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/environment.h b/include/environment.h index 946a393e30..bf9f669127 100644 --- a/include/environment.h +++ b/include/environment.h @@ -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); |