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

common: cmd_elf: make do_bootelf_exec static


do_bootelf_exec was a weak function without a prototype nor
and strong version. Just make it static.

Signed-off-by: default avatarJeroen Hofstee <jeroen@myspectrum.nl>
parent 69d27545
No related branches found
No related tags found
No related merge requests found
...@@ -28,8 +28,7 @@ static unsigned long load_elf_image_phdr(unsigned long addr); ...@@ -28,8 +28,7 @@ static unsigned long load_elf_image_phdr(unsigned long addr);
static unsigned long load_elf_image_shdr(unsigned long addr); static unsigned long load_elf_image_shdr(unsigned long addr);
/* Allow ports to override the default behavior */ /* Allow ports to override the default behavior */
__attribute__((weak)) static unsigned long do_bootelf_exec(ulong (*entry)(int, char * const[]),
unsigned long do_bootelf_exec(ulong (*entry)(int, char * const[]),
int argc, char * const argv[]) int argc, char * const argv[])
{ {
unsigned long ret; unsigned long ret;
......
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