Skip to content
Snippets Groups Projects
Commit 0b7df656 authored by Jeroen Hofstee's avatar Jeroen Hofstee Committed by Tom Rini
Browse files

common: env_common: make env_get_char_spec __weak


Signed-off-by: default avatarJeroen Hofstee <jeroen@myspectrum.nl>
parent 862c93e9
No related branches found
No related tags found
No related merge requests found
......@@ -27,12 +27,10 @@ struct hsearch_data env_htab = {
.change_ok = env_flags_validate,
};
static uchar __env_get_char_spec(int index)
__weak uchar env_get_char_spec(int index)
{
return *((uchar *)(gd->env_addr + index));
}
uchar env_get_char_spec(int)
__attribute__((weak, alias("__env_get_char_spec")));
static uchar env_get_char_init(int index)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment