diff options
author | Matt Fleming <matt.fleming@intel.com> | 2013-06-20 14:25:53 +0100 |
---|---|---|
committer | Matt Fleming <matt.fleming@intel.com> | 2013-06-20 14:25:53 +0100 |
commit | 937d5256228cd9acc1ff7261303854599d2a1454 (patch) | |
tree | d4d9ed8bcedb4b259785ece5de2e250848739da4 | |
parent | 96669c1293445705f3d2917dac26b32a97efa577 (diff) | |
download | syslinux-937d5256228cd9acc1ff7261303854599d2a1454.tar.gz |
efi: provide prototype for load_env32()
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 <matt.fleming@intel.com>
-rw-r--r-- | core/include/core.h | 2 | ||||
-rw-r--r-- | efi/main.c | 2 |
2 files changed, 3 insertions, 1 deletions
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 */ @@ -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); |