diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/common.h | 12 | ||||
-rw-r--r-- | include/env.h | 12 |
2 files changed, 12 insertions, 12 deletions
diff --git a/include/common.h b/include/common.h index 83050073bf2..8d8bbc4da30 100644 --- a/include/common.h +++ b/include/common.h @@ -158,18 +158,6 @@ int do_ext2load(cmd_tbl_t *, int, int, char * const []); char *env_get(const char *varname); /** - * env_get_hex() - Return an environment variable as a hex value - * - * Decode an environment as a hex number (it may or may not have a 0x - * prefix). If the environment variable cannot be found, or does not start - * with hex digits, the default value is returned. - * - * @varname: Variable to decode - * @default_val: Value to return on error - */ -ulong env_get_hex(const char *varname, ulong default_val); - -/** * env_set() - set an environment variable * * This sets or deletes the value of an environment variable. For setting the diff --git a/include/env.h b/include/env.h index d7190da335e..dd063feb393 100644 --- a/include/env.h +++ b/include/env.h @@ -94,6 +94,18 @@ ulong env_get_ulong(const char *name, int base, ulong default_val); int env_set_ulong(const char *varname, ulong value); /** + * env_get_hex() - Return an environment variable as a hex value + * + * Decode an environment as a hex number (it may or may not have a 0x + * prefix). If the environment variable cannot be found, or does not start + * with hex digits, the default value is returned. + * + * @varname: Variable to decode + * @default_val: Value to return on error + */ +ulong env_get_hex(const char *varname, ulong default_val); + +/** * env_set_hex() - set an environment variable to a hex value * * @varname: Variable to adjust |