projects
/
oweals
/
u-boot_mod.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0046a44
)
Comment out getenv_r, we don't use it now anyway
author
Piotr Dymacz
<pepe2k@gmail.com>
Wed, 5 Apr 2017 21:35:03 +0000
(23:35 +0200)
committer
Piotr Dymacz
<pepe2k@gmail.com>
Wed, 5 Apr 2017 21:35:03 +0000
(23:35 +0200)
u-boot/common/cmd_nvedit.c
patch
|
blob
|
history
diff --git
a/u-boot/common/cmd_nvedit.c
b/u-boot/common/cmd_nvedit.c
index fa735a2facdc76a99ee7447d8247dc50141c3088..55b6180518d5d1e62fa3928975c88325b38024fb 100644
(file)
--- a/
u-boot/common/cmd_nvedit.c
+++ b/
u-boot/common/cmd_nvedit.c
@@
-509,6
+509,7
@@
char *getenv(char *name){
return(NULL);
}
+#if 0
int getenv_r(char *name, char *buf, unsigned len){
int i, nxt;
@@
-536,6
+537,7
@@
int getenv_r(char *name, char *buf, unsigned len){
return(-1);
}
+#endif
#if defined(CFG_ENV_IS_IN_NVRAM) ||\
defined(CFG_ENV_IS_IN_EEPROM) ||\