Make setenv() return status
Currently, the setenv function does not return an error code. This patch allows to test for errors. Signed-off-by: Steve Falco <sfalco@harris.com>
This commit is contained in:
committed by
Wolfgang Denk
parent
4928e97c85
commit
75678c807a
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user