grub2/0130-grub-core-disk-arc-arcdisk.c-grub_arcdisk_iterate-Fi.patch
Peter Jones f74b50e380 Rebase to upstream, fix a pile of bugs. The usual.
Signed-off-by: Peter Jones <pjones@redhat.com>
2013-06-12 15:37:08 -04:00

40 lines
1.2 KiB
Diff

From 30f0ba576620a7016899533e3ebb8ae66cc418cf Mon Sep 17 00:00:00 2001
From: Colin Watson <cjwatson@ubuntu.com>
Date: Mon, 21 Jan 2013 13:59:28 +0000
Subject: [PATCH 130/482] * 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.2.1