Author: blueswirl Date: Sat Mar 27 14:20:54 2010 New Revision: 716 URL: http://tracker.coreboot.org/trac/openbios/changeset/716
Log: Fix linker warning
There were two global symbols named 'entry': LINK openbios-builtin.elf libsparc32.a(entry.o): warning: definition of `entry' overriding common libsparc32.a(boot.o): warning: common is here
Add 'static' to hide the boot.c one.
Signed-off-by: Blue Swirl blauwirbel@gmail.com
Modified: trunk/openbios-devel/arch/sparc32/boot.c
Modified: trunk/openbios-devel/arch/sparc32/boot.c ============================================================================== --- trunk/openbios-devel/arch/sparc32/boot.c Sat Mar 27 14:20:52 2010 (r715) +++ trunk/openbios-devel/arch/sparc32/boot.c Sat Mar 27 14:20:54 2010 (r716) @@ -20,7 +20,7 @@ uint32_t qemu_cmdline; uint32_t cmdline_size; char boot_device; -int (*entry)(const void *romvec_ptr, int p2, int p3, int p4, int p5); +static int (*entry)(const void *romvec_ptr, int p2, int p3, int p4, int p5);
static int try_path(const char *path, char *param, const void *romvec) {