diff options
author | Simon Glass <sjg@chromium.org> | 2017-08-03 12:22:15 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-08-16 08:31:11 -0400 |
commit | 723806cc5bea9f8b37323dfd7568603f99af6a06 (patch) | |
tree | 886eeb28ac54536f60ad0979f9a4404ff4b29bda /include/net.h | |
parent | 35affd7a2ff9a77b9946bf93b616228fcf218d60 (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/net.h')
-rw-r--r-- | include/net.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net.h b/include/net.h index a6f90826531..455b48f6c72 100644 --- a/include/net.h +++ b/include/net.h @@ -834,7 +834,7 @@ void vlan_to_string(ushort x, char *s); ushort string_to_vlan(const char *s); /* read a VLAN id from an environment variable */ -ushort getenv_vlan(char *); +ushort env_get_vlan(char *); /* copy a filename (allow for "..." notation, limit length) */ void copy_filename(char *dst, const char *src, int size); |