]> Git Repo - J-u-boot.git/commit - cmd/nvedit.c
cmd: nvedit: rename flags in do_env_default
authorYaniv Levinsky <[email protected]>
Sun, 24 Jun 2018 16:16:54 +0000 (19:16 +0300)
committerTom Rini <[email protected]>
Thu, 19 Jul 2018 20:17:58 +0000 (16:17 -0400)
commit30091494eba7ddd788f0beaec04a986c3ba4f193
tree654235fc711f41acaafb43c1924e4c20e3d5aa07
parent201d9cd2b36d8f2f416537d0df63024ab0f53eec
cmd: nvedit: rename flags in do_env_default

The naming convention for flags in nvedit.c is:
* The hashtable flag (defined in search.h) is named "env_flag"
* The command flag argument (defined in command.h) is named "flag"

This convention is kept in functions like do_env_print(), do_env_set()
and do_env_delete(), but not in do_env_default().

Rename the hashtable flag in do_env_default() from "flag" to "env_flag".
Rename the command flag in do_env_default() from "__flag" to "flag".

No functional change.

Signed-off-by: Yaniv Levinsky <[email protected]>
Reviewed-by: Igor Grinberg <[email protected]>
cmd/nvedit.c
This page took 0.0345 seconds and 4 git commands to generate.