[U-Boot] [PATCH] Constify getenv(), setenv() and hash code functions
Wolfgang Denk
wd at denx.de
Sat Jul 30 01:38:01 CEST 2011
Dear Wolfgang Denk,
In message <1311943338-23147-1-git-send-email-wd at denx.de> you wrote:
> This is needed to get rid of build warnings like
>
> main.c:311: warning: passing argument 2 of 'setenv' discards qualifiers from pointer target type
>
> which result from commit 09c2e90 "unify version_string".
>
> Signed-off-by: Wolfgang Denk <wd at denx.de>
> Cc: Andreas Bießmann <andreas.devel at googlemail.com>
>
> ---
> common/cmd_nvedit.c | 13 +++++++------
> include/common.h | 8 ++++----
> include/exports.h | 4 ++--
> include/search.h | 2 +-
> lib/hashtable.c | 6 +++---
> 5 files changed, 17 insertions(+), 16 deletions(-)
Applied, thanks.
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
I wrote my name at the top of the page. I wrote down the number of
the question ``1''. After much reflection I put a bracket round it
thus ``(1)''. But thereafter I could not think of anything connected
with it that was either relevant or true.
- Sir Winston Churchill _My Early Life_ ch. 2
More information about the U-Boot
mailing list