mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-21 06:49:35 +00:00
guid: Unify GUID types
There are 3 implementations of a GUID in GRUB. Replace them with a common one, placed in types.h. It uses the "packed" flavor of the GUID structs, the alignment attribute is dropped, since it is not required. Signed-off-by: Oliver Steffen <osteffen@redhat.com> Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
This commit is contained in:
1 parent
7e4da6fb2d
commit
06edd40db7
37 files changed
+130
-148
No files matched your search
@@ -80,7 +80,7 @@ grub_efiemu_unload (void)
|
||||
|
||||
/* Remove previously registered table from the list */
|
||||
grub_err_t
|
||||
grub_efiemu_unregister_configuration_table (grub_efi_guid_t guid)
|
||||
grub_efiemu_unregister_configuration_table (grub_guid_t guid)
|
||||
{
|
||||
struct grub_efiemu_configuration_table *cur, *prev;
|
||||
|
||||
@@ -136,7 +136,7 @@ grub_efiemu_register_prepare_hook (grub_err_t (*hook) (void *data),
|
||||
or with a hook
|
||||
*/
|
||||
grub_err_t
|
||||
grub_efiemu_register_configuration_table (grub_efi_guid_t guid,
|
||||
grub_efiemu_register_configuration_table (grub_guid_t guid,
|
||||
void * (*get_table) (void *data),
|
||||
void (*unload) (void *data),
|
||||
void *data)
|
||||
|
||||
Reference in new issue
Block a user