From a8409f4f1ac84c36273c1a1e341189662521bcfb Mon Sep 17 00:00:00 2001 From: Wolfgang Denk Date: Wed, 14 May 2008 12:22:49 +0200 Subject: environment: cleanup prototype declarations of env functions. Signed-off-by: Wolfgang Denk --- include/environment.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'include') diff --git a/include/environment.h b/include/environment.h index c4f7c33be6..946a393e30 100644 --- a/include/environment.h +++ b/include/environment.h @@ -107,4 +107,14 @@ 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); + +/* Function that returns a pointer to a value from the environment */ +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); + #endif /* _ENVIRONMENT_H_ */ -- cgit v1.2.1