mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 19:11:53 +00:00
env: Move env_set() to env.h
Move env_set() over to the new header file. Acked-by: Joe Hershberger <joe.hershberger@ni.com> Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
cdbff9fc40
commit
9fb625ce05
181 changed files with 191 additions and 12 deletions
|
@ -157,18 +157,6 @@ int do_ext2load(cmd_tbl_t *, int, int, char * const []);
|
|||
*/
|
||||
char *env_get(const char *varname);
|
||||
|
||||
/**
|
||||
* env_set() - set an environment variable
|
||||
*
|
||||
* This sets or deletes the value of an environment variable. For setting the
|
||||
* value the variable is created if it does not already exist.
|
||||
*
|
||||
* @varname: Variable to adjust
|
||||
* @value: Value to set for the variable, or NULL or "" to delete the variable
|
||||
* @return 0 if OK, 1 on error
|
||||
*/
|
||||
int env_set(const char *varname, const char *value);
|
||||
|
||||
void pci_init_board(void);
|
||||
|
||||
/* common/exports.c */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue