summaryrefslogtreecommitdiff
path: root/include/environment.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2017-08-03 12:22:15 -0600
committerTom Rini <trini@konsulko.com>2017-08-16 08:31:11 -0400
commit723806cc5bea9f8b37323dfd7568603f99af6a06 (patch)
tree886eeb28ac54536f60ad0979f9a4404ff4b29bda /include/environment.h
parent35affd7a2ff9a77b9946bf93b616228fcf218d60 (diff)
env: Rename some other getenv()-related functions
We are now using an env_ prefix for environment functions. Rename these other functions as well, for consistency: getenv_vlan() getenv_bootm_size() getenv_bootm_low() getenv_bootm_mapsize() env_get_default() Suggested-by: Wolfgang Denk <wd@denx.de> Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/environment.h')
-rw-r--r--include/environment.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/environment.h b/include/environment.h
index a055e3fa89..9a44215235 100644
--- a/include/environment.h
+++ b/include/environment.h
@@ -282,7 +282,7 @@ extern struct hsearch_data env_htab;
void env_crc_update(void);
/* Look up the variable from the default environment */
-char *getenv_default(const char *name);
+char *env_get_default(const char *name);
/* [re]set to the default environment */
void set_default_env(const char *s);