From: Li Gen Date: Thu, 25 Aug 2022 05:12:17 +0000 (-0500) Subject: efi: Correct function prototype for register_key_notify() method of grub_efi_simple_t... X-Git-Tag: grub-2.12-rc1~267 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4740430bd2d0dd487ca48764c89c8feb4d3c9a4d;p=thirdparty%2Fgrub.git efi: Correct function prototype for register_key_notify() method of grub_efi_simple_text_input_ex_interface The register_key_notify() method should have an output parameter which is a pointer to the unique handle assigned to the registered notification. Signed-off-by: Li Gen Signed-off-by: Glenn Washburn Reviewed-by: Daniel Kiper --- diff --git a/include/grub/efi/api.h b/include/grub/efi/api.h index 1ef404622..7325d3c9f 100644 --- a/include/grub/efi/api.h +++ b/include/grub/efi/api.h @@ -1442,7 +1442,8 @@ struct grub_efi_simple_text_input_ex_interface grub_efi_status_t (*register_key_notify) (struct grub_efi_simple_text_input_ex_interface *this, grub_efi_key_data_t *key_data, - grub_efi_key_notify_function_t key_notification_function); + grub_efi_key_notify_function_t key_notification_function, + void **notify_handle); grub_efi_status_t (*unregister_key_notify) (struct grub_efi_simple_text_input_ex_interface *this,