+2012-02-10 Vladimir Serbinenko <phcoder@gmail.com>
+
+ * grub-core/partmap/gpt.c (gpt_partition_map_embed): Rename disk to
+ disk_ to avoid shadowing.
+
2012-02-10 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/lib/LzFind.c (MatchFinder_GetIndexByte): Rename index to
#ifdef GRUB_UTIL
static grub_err_t
-gpt_partition_map_embed (struct grub_disk *disk, unsigned int *nsectors,
+gpt_partition_map_embed (struct grub_disk *disk_, unsigned int *nsectors,
grub_embed_type_t embed_type,
grub_disk_addr_t **sectors)
{
return grub_error (GRUB_ERR_NOT_IMPLEMENTED_YET,
"GPT currently supports only PC-BIOS embedding");
- err = grub_gpt_partition_map_iterate (disk, find_usable_region);
+ err = grub_gpt_partition_map_iterate (disk_, find_usable_region);
if (err)
return err;