From 937d5256228cd9acc1ff7261303854599d2a1454 Mon Sep 17 00:00:00 2001 From: Matt Fleming Date: Thu, 20 Jun 2013 14:25:53 +0100 Subject: efi: provide prototype for load_env32() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit To get rid of the following GCC warning, efi/main.c:1237:2: warning: implicit declaration of function ‘load_env32’ [-Wimplicit-function-declaration] Signed-off-by: Matt Fleming --- core/include/core.h | 2 ++ efi/main.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/core/include/core.h b/core/include/core.h index 3a63aac7..5736d393 100644 --- a/core/include/core.h +++ b/core/include/core.h @@ -129,4 +129,6 @@ extern void dmi_init(void); extern void do_sysappend(char *buf); +extern void load_env32(com32sys_t *regs); + #endif /* CORE_H */ diff --git a/efi/main.c b/efi/main.c index cc264579..5d71b398 100644 --- a/efi/main.c +++ b/efi/main.c @@ -1235,7 +1235,7 @@ EFI_STATUS efi_main(EFI_HANDLE image, EFI_SYSTEM_TABLE *table) status = uefi_call_wrapper(in->ReadKeyStroke, 2, in, &key); } while (status != EFI_NOT_READY); - load_env32(); + load_env32(NULL); /* load_env32() failed.. cancel timer and bailout */ status = cancel_timer(timer_ev); -- cgit v1.2.1