summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorJoe Hershberger <joe.hershberger@ni.com>2015-04-08 01:41:15 -0500
committerSimon Glass <sjg@chromium.org>2015-04-18 11:11:34 -0600
commit786eac5f9d0a9c30c2aceaededc9170a9dfb0197 (patch)
tree9822bd9438bcdc905df90525d999b6055e07a0e2 /common
parent6aede5b750e342c3293ec1d87c4dbb9376280bbe (diff)
net: cosmetic: Clean up DNS variables and functions
Make a thorough pass through all variables and function names contained within dns.c and remove CamelCase and improve naming. Signed-off-by: Joe Hershberger <joe.hershberger@ni.com> Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'common')
-rw-r--r--common/cmd_net.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/common/cmd_net.c b/common/cmd_net.c
index 1deebf2b876..0270ac371de 100644
--- a/common/cmd_net.c
+++ b/common/cmd_net.c
@@ -393,12 +393,12 @@ int do_dns(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
return CMD_RET_FAILURE;
}
- NetDNSResolve = argv[1];
+ net_dns_resolve = argv[1];
if (argc == 3)
- NetDNSenvvar = argv[2];
+ net_dns_env_var = argv[2];
else
- NetDNSenvvar = NULL;
+ net_dns_env_var = NULL;
if (NetLoop(DNS) < 0) {
printf("dns lookup of %s failed, check setup\n", argv[1]);