aboutsummaryrefslogtreecommitdiffstats
path: root/api
diff options
context:
space:
mode:
authorJoakim Tjernlund2008-04-14 16:01:50 -0500
committerWolfgang Denk2008-04-17 15:20:14 -0500
commitc0559be371b2a64b1a817088c3308688e2182f93 (patch)
tree29a1cf26364ab3e96e76cfa817171af1e624430d /api
parent3dfd4aab929cccddb63d9ea509967861e1333b52 (diff)
downloadu-boot-c0559be371b2a64b1a817088c3308688e2182f93.tar.gz
u-boot-c0559be371b2a64b1a817088c3308688e2182f93.tar.xz
u-boot-c0559be371b2a64b1a817088c3308688e2182f93.zip
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')
-rw-r--r--api/api.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/api/api.c b/api/api.c
index 0598d9082d..c1b2b60aeb 100644
--- a/api/api.c
+++ b/api/api.c
@@ -40,7 +40,6 @@
40 40
41/* U-Boot routines needed */ 41/* U-Boot routines needed */
42extern int do_reset (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]); 42extern int do_reset (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]);
43extern uchar (*env_get_char)(int);
44extern uchar *env_get_addr(int); 43extern uchar *env_get_addr(int);
45 44
46/***************************************************************************** 45/*****************************************************************************