diff options
author | Simon Glass <sjg@chromium.org> | 2019-08-01 09:46:49 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-08-11 16:43:41 -0400 |
commit | 6bf6dbee0111d40b4b37799d24eed8b6af7d7b29 (patch) | |
tree | d208767aba325d564900dbf369d04ec3093539db /include/common.h | |
parent | 9eef56dbe34596b403e8c476c2e30ed697638f77 (diff) |
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>
Diffstat (limited to 'include/common.h')
-rw-r--r-- | include/common.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/common.h b/include/common.h index 48f443e851..83050073bf 100644 --- a/include/common.h +++ b/include/common.h @@ -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 * |