Change env_get_char from a global function ptr to a function.
This avoids an early global data reference. Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund@transmode.se>
This commit is contained in:
committed by
Wolfgang Denk
parent
3dfd4aab92
commit
c0559be371
@@ -229,6 +229,7 @@ extern ulong load_addr; /* Default Load Address */
|
||||
/* common/cmd_nvedit.c */
|
||||
int env_init (void);
|
||||
void env_relocate (void);
|
||||
uchar env_get_char (int);
|
||||
int envmatch (uchar *, int);
|
||||
char *getenv (char *);
|
||||
int getenv_r (char *name, char *buf, unsigned len);
|
||||
|
||||
Reference in New Issue
Block a user