[U-Boot-Users] [PATCH] Change env_get_char from a global function ptr to a function.

Wolfgang Denk wd at denx.de
Fri Apr 18 06:14:12 CEST 2008


In message <1208206910.5911.20.camel at gentoo-jocke.transmode.se> you wrote:
...
> > Could you please update and resubmit? Thanks in advance.
> 
> OK, here it is.
> 
> >From 96fdcd78686c22aa6be56575c9f37d1943c91222 Mon Sep 17 00:00:00 2001
> From: Joakim Tjernlund <Joakim.Tjernlund at transmode.se>
> Date: Mon, 14 Apr 2008 22:59:00 +0200
> Subject: [PATCH] Change env_get_char from a global function ptr to a function.
> 
> This avoids an early global data reference.
> ---
>  api/api.c           |    1 -
>  common/cmd_nvedit.c |    3 ---
>  common/env_common.c |   19 +++++++++++++------
>  common/env_eeprom.c |    1 -
>  common/env_nvram.c  |    1 -
>  common/ft_build.c   |    2 --
>  include/common.h    |    1 +
>  7 files changed, 14 insertions(+), 14 deletions(-)

Thanks, applied.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
A stone was placed at a ford in a river with the inscription:
"When this stone is covered it is dangerous to ford here."




More information about the U-Boot mailing list