summaryrefslogtreecommitdiff
path: root/efi/main.c
diff options
context:
space:
mode:
authorMatt Fleming <matt.fleming@intel.com>2013-06-20 14:25:53 +0100
committerMatt Fleming <matt.fleming@intel.com>2013-06-20 14:25:53 +0100
commit937d5256228cd9acc1ff7261303854599d2a1454 (patch)
treed4d9ed8bcedb4b259785ece5de2e250848739da4 /efi/main.c
parent96669c1293445705f3d2917dac26b32a97efa577 (diff)
downloadsyslinux-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>
Diffstat (limited to 'efi/main.c')
-rw-r--r--efi/main.c2
1 files changed, 1 insertions, 1 deletions
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);