grub2/0129-grub-core-disk-arc-arcdisk.c-grub_arcdisk_iterate-Fi.patch

41 lines
1.2 KiB
Diff
Raw Normal View History

From b9711c98bf23241a2cf73d01fe4ffc266171f27f Mon Sep 17 00:00:00 2001
From: Colin Watson <cjwatson@ubuntu.com>
Date: Mon, 21 Jan 2013 13:59:28 +0000
Subject: [PATCH 129/364] * grub-core/disk/arc/arcdisk.c
(grub_arcdisk_iterate): Fix parameter declarations.
---
ChangeLog | 5 +++++
grub-core/disk/arc/arcdisk.c | 2 +-
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
index 18f350e..1c3958f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2013-01-21 Colin Watson <cjwatson@ubuntu.com>
+
+ * grub-core/disk/arc/arcdisk.c (grub_arcdisk_iterate): Fix
+ parameter declarations.
+
2013-01-21 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/commands/lsmmap.c: Fix unused variable on emu.
diff --git a/grub-core/disk/arc/arcdisk.c b/grub-core/disk/arc/arcdisk.c
index 37c0ac3..5d12128 100644
--- a/grub-core/disk/arc/arcdisk.c
+++ b/grub-core/disk/arc/arcdisk.c
@@ -102,7 +102,7 @@ grub_arcdisk_iterate_iter (const char *name,
}
static int
-grub_arcdisk_iterate (int (*hook_in) (const char *name),
+grub_arcdisk_iterate (grub_disk_dev_iterate_hook_t hook, void *hook_data,
grub_disk_pull_t pull)
{
struct grub_arcdisk_iterate_ctx ctx = { hook, hook_data };
--
1.8.1.4