mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 16:52:14 +02: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:
@@ -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
|
||||
*
|
||||
|
Reference in New Issue
Block a user