diff options
author | Marek BehĂșn | 2021-10-22 15:47:24 +0200 |
---|---|---|
committer | Simon Glass | 2021-10-31 12:26:44 -0600 |
commit | c5cbbe35fd7b3d05273f4d3f273c9e613bd38d7d (patch) | |
tree | e44ca7574da59b965ccb5937dbadfcc679314fd0 /include/env_internal.h | |
parent | b26334824b58150e82a8b202380169a9276cd161 (diff) |
env: Always use char for default_environment
Sometimes we use uchar and sometimes char for the default environment
array. By always using char, we can get rid of some explicit casts.
Signed-off-by: Marek BehĂșn <marek.behun@nic.cz>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/env_internal.h')
-rw-r--r-- | include/env_internal.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/env_internal.h b/include/env_internal.h index b7bddcb00d8..f74927cd641 100644 --- a/include/env_internal.h +++ b/include/env_internal.h @@ -112,9 +112,9 @@ extern env_t embedded_environment; #endif /* ENV_IS_EMBEDDED */ #ifdef DEFAULT_ENV_IS_RW -extern unsigned char default_environment[]; +extern char default_environment[]; #else -extern const unsigned char default_environment[]; +extern const char default_environment[]; #endif #ifndef DO_DEPS_ONLY |