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 /common/ft_build.c | |
parent | 3dfd4aab929cccddb63d9ea509967861e1333b52 (diff) | |
download | u-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/ft_build.c')
-rw-r--r-- | common/ft_build.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/common/ft_build.c b/common/ft_build.c index 0e5699a..0b6c2b7 100644 --- a/common/ft_build.c +++ b/common/ft_build.c @@ -396,8 +396,6 @@ void *ft_get_prop(void *bphp, const char *propname, int *szp) /********************************************************************/ -/* Function that returns a character from the environment */ -extern uchar(*env_get_char) (int); void ft_setup(void *blob, bd_t * bd, ulong initrd_start, ulong initrd_end) { |