Re: [U-Boot] [PATCH] Constify getenv(), setenv() and hash code functions

2011-07-29 Thread Wolfgang Denk
Dear Wolfgang Denk, In message <1311943338-23147-1-git-send-email...@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_

[U-Boot] [PATCH] Constify getenv(), setenv() and hash code functions

2011-07-29 Thread Wolfgang Denk
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 Cc: Andreas Bießmann --- common/cmd_nvedit.c | 13 +++