mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-27 09:39:22 +00:00
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 <ligenlive@gmail.com> Signed-off-by: Glenn Washburn <development@efficientek.com> Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
This commit is contained in:
1 parent
2c1425b8f0
commit
4740430bd2
1 file changed
+2
-1
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user