diff options
author | Joakim Tjernlund <joakim.tjernlund@transmode.se> | 2008-04-14 21:01:50 (GMT) |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-04-17 20:20:14 (GMT) |
commit | c0559be371b2a64b1a817088c3308688e2182f93 (patch) | |
tree | 29a1cf26364ab3e96e76cfa817171af1e624430d /include/common.h | |
parent | 3dfd4aab929cccddb63d9ea509967861e1333b52 (diff) | |
download | u-boot-c0559be371b2a64b1a817088c3308688e2182f93.tar.xz |
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>
Diffstat (limited to 'include/common.h')
-rw-r--r-- | include/common.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/common.h b/include/common.h index 39bcd30..8630780 100644 --- a/include/common.h +++ b/include/common.h @@ -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); |