]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - include/common.h
Make setenv() return status
[karo-tx-uboot.git] / include / common.h
index 319078178bfa9c64a054e2c394a1d7eba462f0cd..10b997e9ec6189cb79e660cf1664ebdd7f2e345f 100644 (file)
@@ -243,9 +243,9 @@ char        *getenv      (char *);
 int    getenv_r     (char *name, char *buf, unsigned len);
 int    saveenv      (void);
 #ifdef CONFIG_PPC              /* ARM version to be fixed! */
-void inline setenv   (char *, char *);
+int inline setenv   (char *, char *);
 #else
-void   setenv       (char *, char *);
+int    setenv       (char *, char *);
 #ifdef CONFIG_HAS_UID
 void   forceenv     (char *, char *);
 #endif