diff options
author | Simon Glass <sjg@chromium.org> | 2017-08-03 21:22:13 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-08-16 15:30:32 +0300 |
commit | bfebc8c965e41d62dc6355d09bdd63ca57011b99 (patch) | |
tree | 2739bc0c03f554119f9feaaea578a11f0d08aa61 /env/common.c | |
parent | 00caae6d47645e68d6e5277aceb69592b49381a6 (diff) | |
download | u-boot-bfebc8c965e41d62dc6355d09bdd63ca57011b99.tar.xz |
env: Rename getenv_hex(), getenv_yesno(), getenv_ulong()
We are now using an env_ prefix for environment functions. Rename these
for consistency. Also add function comments in common.h.
Suggested-by: Wolfgang Denk <wd@denx.de>
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'env/common.c')
-rw-r--r-- | env/common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/env/common.c b/env/common.c index 110323ecea..71613aa9de 100644 --- a/env/common.c +++ b/env/common.c @@ -31,7 +31,7 @@ struct hsearch_data env_htab = { * Read an environment variable as a boolean * Return -1 if variable does not exist (default to true) */ -int getenv_yesno(const char *var) +int env_get_yesno(const char *var) { char *s = env_get(var); |