v3: Remove compiler warning about unused variable by only declaring when used

Signed-off-by: Peter Stuge <peter@stuge.se>
Acked-by: Peter Stuge <peter@stuge.se>


git-svn-id: svn://coreboot.org/repository/coreboot-v3@710 f3766cd6-281f-0410-b1cd-43a5c92072e9
This commit is contained in:
Peter Stuge 2008-08-02 01:44:27 +00:00
commit 1564bcac15

View file

@ -114,8 +114,9 @@ int legacy(struct mem_file *archive, char *name, void *where, struct lb_memory *
void __attribute__((stdcall)) stage1_main(u32 bist)
{
int ret;
struct mem_file archive, result;
struct mem_file archive;
#ifdef CONFIG_PAYLOAD_ELF_LOADER
struct mem_file result;
int elfboot_mem(struct lb_memory *mem, void *where, int size);
#endif /* CONFIG_PAYLOAD_ELF_LOADER */
void *entry;