From: Jeroen Hofstee Date: Wed, 8 Oct 2014 20:57:31 +0000 (+0200) Subject: common: cmd_elf: make do_bootelf_exec static X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=553d8c3a5a028e01c575480de4894025b4fa01f4;p=u-boot.git 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: Jeroen Hofstee --- diff --git a/common/cmd_elf.c b/common/cmd_elf.c index ab9c7e332d..2f229d739a 100644 --- a/common/cmd_elf.c +++ b/common/cmd_elf.c @@ -28,8 +28,7 @@ static unsigned long load_elf_image_phdr(unsigned long addr); static unsigned long load_elf_image_shdr(unsigned long addr); /* Allow ports to override the default behavior */ -__attribute__((weak)) -unsigned long do_bootelf_exec(ulong (*entry)(int, char * const[]), +static unsigned long do_bootelf_exec(ulong (*entry)(int, char * const[]), int argc, char * const argv[]) { unsigned long ret;