* include/grub/loader.h (grub_loader_register_preboot_hook):
Use struct preboot * and not void * for handle. All users updated. (grub_loader_unregister_preboot_hook): Likewise.
This commit is contained in:
parent
1bc8f60db7
commit
74dbd24466
8 changed files with 28 additions and 20 deletions
|
@ -191,7 +191,7 @@ grub_machine_mmap_register (grub_uint64_t start __attribute__ ((unused)),
|
|||
int handle __attribute__ ((unused)))
|
||||
{
|
||||
grub_err_t err;
|
||||
static void *preb_handle = 0;
|
||||
static struct grub_preboot *preb_handle = 0;
|
||||
|
||||
err = malloc_hook ();
|
||||
if (err)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue