From: Piotr Dymacz Date: Wed, 5 Apr 2017 21:35:03 +0000 (+0200) Subject: Comment out getenv_r, we don't use it now anyway X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=145c4fc6522f9ed7094449a53dd1483b69008c86;p=oweals%2Fu-boot_mod.git Comment out getenv_r, we don't use it now anyway --- diff --git a/u-boot/common/cmd_nvedit.c b/u-boot/common/cmd_nvedit.c index fa735a2..55b6180 100644 --- 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) ||\