env_get_char is not a function, but a pointer to one.

Signed-off-by: Wolfgang Denk <[EMAIL PROTECTED]>
---
 include/environment.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/environment.h b/include/environment.h
index 946a393..bf9f669 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);
-- 
1.5.4.2


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
U-Boot-Users mailing list
U-Boot-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users

Reply via email to