mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 19:11:53 +00:00
env: Move env_get_yesno() to env.h
Move env_get_yesno() over to the new header file. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Joe Hershberger <joe.hershberger@ni.com>
This commit is contained in:
parent
9eef56dbe3
commit
6bf6dbee01
5 changed files with 11 additions and 6 deletions
|
@ -169,12 +169,6 @@ char *env_get(const char *varname);
|
|||
*/
|
||||
ulong env_get_hex(const char *varname, ulong default_val);
|
||||
|
||||
/*
|
||||
* Read an environment variable as a boolean
|
||||
* Return -1 if variable does not exist (default to true)
|
||||
*/
|
||||
int env_get_yesno(const char *var);
|
||||
|
||||
/**
|
||||
* env_set() - set an environment variable
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue