summaryrefslogtreecommitdiff
path: root/include/env_flags.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2019-08-02 18:44:18 +0300
committerTom Rini <trini@konsulko.com>2019-08-11 23:43:41 +0300
commitdd2408cac1ea0f5e9ab4b07539c6edaee57918cb (patch)
tree1f797fce88be656b6bafe0feac4bd183402f80dd /include/env_flags.h
parent02cf9334280046e6b07ba304e7da2a273e445d5b (diff)
downloadu-boot-dd2408cac1ea0f5e9ab4b07539c6edaee57918cb.tar.xz
env: Drop the ENTRY typedef
U-Boot is not supposed to use typedef for structs anymore. Also this name is the same as the ENTRY() macro used in assembler files, and 'entry' itself is widely used in U-Boot (>8k matches). Drop the typedef and rename the struct to env_entry to reduce confusion. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'include/env_flags.h')
-rw-r--r--include/env_flags.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/env_flags.h b/include/env_flags.h
index f2306436b4..e5380f2948 100644
--- a/include/env_flags.h
+++ b/include/env_flags.h
@@ -153,13 +153,13 @@ int env_flags_validate_env_set_params(char *name, char *const val[], int count);
* When adding a variable to the environment, initialize the flags for that
* variable.
*/
-void env_flags_init(ENTRY *var_entry);
+void env_flags_init(struct env_entry *var_entry);
/*
* Validate the newval for to conform with the requirements defined by its flags
*/
-int env_flags_validate(const ENTRY *item, const char *newval, enum env_op op,
- int flag);
+int env_flags_validate(const struct env_entry *item, const char *newval,
+ enum env_op op, int flag);
#endif /* USE_HOSTCC */