Comment out getenv_r, we don't use it now anyway
authorPiotr Dymacz <pepe2k@gmail.com>
Wed, 5 Apr 2017 21:35:03 +0000 (23:35 +0200)
committerPiotr Dymacz <pepe2k@gmail.com>
Wed, 5 Apr 2017 21:35:03 +0000 (23:35 +0200)
u-boot/common/cmd_nvedit.c

index fa735a2facdc76a99ee7447d8247dc50141c3088..55b6180518d5d1e62fa3928975c88325b38024fb 100644 (file)
@@ -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) ||\