summaryrefslogtreecommitdiff
path: root/common/cmd_nvedit.c
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 /common/cmd_nvedit.c
parent3dfd4aab929cccddb63d9ea509967861e1333b52 (diff)
downloadu-boot-imx-c0559be371b2a64b1a817088c3308688e2182f93.zip
u-boot-imx-c0559be371b2a64b1a817088c3308688e2182f93.tar.gz
u-boot-imx-c0559be371b2a64b1a817088c3308688e2182f93.tar.bz2
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 'common/cmd_nvedit.c')
-rw-r--r--common/cmd_nvedit.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/common/cmd_nvedit.c b/common/cmd_nvedit.c
index cab727f..dc05f68 100644
--- a/common/cmd_nvedit.c
+++ b/common/cmd_nvedit.c
@@ -68,9 +68,6 @@ DECLARE_GLOBAL_DATA_PTR;
/************************************************************************
************************************************************************/
-/* Function that returns a character from the environment */
-extern uchar (*env_get_char)(int);
-
/* Function that returns a pointer to a value from the environment */
/* (Only memory version supported / needed). */
extern uchar *env_get_addr(int);