diff options
author | Joakim Tjernlund <joakim.tjernlund@transmode.se> | 2008-04-14 23:01:50 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-04-17 13:20:14 -0700 |
commit | c0559be371b2a64b1a817088c3308688e2182f93 (patch) | |
tree | 29a1cf26364ab3e96e76cfa817171af1e624430d /api/api.c | |
parent | 3dfd4aab929cccddb63d9ea509967861e1333b52 (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 'api/api.c')
-rw-r--r-- | api/api.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/api/api.c b/api/api.c index 0598d9082dc..c1b2b60aeb1 100644 --- a/api/api.c +++ b/api/api.c @@ -40,7 +40,6 @@ /* U-Boot routines needed */ extern int do_reset (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]); -extern uchar (*env_get_char)(int); extern uchar *env_get_addr(int); /***************************************************************************** |