X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=include%2Fenv_flags.h;h=725841a891d7577dc9cd42414552fef69525a460;hb=37db55b7e9dbbc25e4179ec5b7be8e286e47a44d;hp=f2306436b4def658d1de9d4c474332fbcde6a734;hpb=9fb625ce05539fe6876a59ce1dcadb76b33c6f6e;p=oweals%2Fu-boot.git diff --git a/include/env_flags.h b/include/env_flags.h index f2306436b4..725841a891 100644 --- a/include/env_flags.h +++ b/include/env_flags.h @@ -36,7 +36,7 @@ enum env_flags_varaccess { #define CONFIG_ENV_FLAGS_LIST_STATIC "" #endif -#ifdef CONFIG_CMD_NET +#ifdef CONFIG_NET #ifdef CONFIG_REGEX #define ETHADDR_WILDCARD "\\d*" #else @@ -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 */