From 723806cc5bea9f8b37323dfd7568603f99af6a06 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Thu, 3 Aug 2017 12:22:15 -0600 Subject: 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 Signed-off-by: Simon Glass --- net/net.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'net/net.c') diff --git a/net/net.c b/net/net.c index 0b876913e3..4259c9e321 100644 --- a/net/net.c +++ b/net/net.c @@ -1536,7 +1536,7 @@ ushort string_to_vlan(const char *s) return htons(id); } -ushort getenv_vlan(char *var) +ushort env_get_vlan(char *var) { return string_to_vlan(env_get(var)); } -- cgit v1.2.3