]> code.ossystems Code Review - bsp/u-boot.git/commit
ARM: prevent compiler warnings from bootm.c
authorEric Nelson <eric.nelson@boundarydevices.com>
Tue, 30 Sep 2014 22:40:01 +0000 (15:40 -0700)
committerOtavio Salvador <otavio@ossystems.com.br>
Tue, 21 Oct 2014 19:30:29 +0000 (17:30 -0200)
commitd09ced320457b7e4a30689cdc97b5a113ac7aa33
treed4b5ecad4443d59d65f615728ca88fcad70614a7
parent34fd65809152c21e25538fe9f57d9dc1a95c648e
ARM: prevent compiler warnings from bootm.c

Without preceding declarations, "make C=1" generates
"Should it be static?" warnings for symbols
do_bootm_linux,
boot_prep_vxworks, and
boot_jump_vxworks

Include of bootm.h also identified a signature mismatch
(const on argv[]).

Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
Acked-by: Albert ARIBAUD <albert.u.boot@aribaud.net>
arch/arm/lib/bootm.c