summaryrefslogtreecommitdiff
path: root/include/common.h
diff options
context:
space:
mode:
authorJoakim Tjernlund <joakim.tjernlund@transmode.se>2008-04-14 23:01:50 +0200
committerWolfgang Denk <wd@denx.de>2008-04-17 13:20:14 -0700
commitc0559be371b2a64b1a817088c3308688e2182f93 (patch)
tree29a1cf26364ab3e96e76cfa817171af1e624430d /include/common.h
parent3dfd4aab929cccddb63d9ea509967861e1333b52 (diff)
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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/common.h b/include/common.h
index 39bcd307b5..8630780e92 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);