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

41 lines
1.2 KiB
Diff
Raw Normal View History

2013-06-07 18:03:56 +00:00
From 30f0ba576620a7016899533e3ebb8ae66cc418cf Mon Sep 17 00:00:00 2001
From: Colin Watson <cjwatson@ubuntu.com>
Date: Mon, 21 Jan 2013 13:59:28 +0000
2013-06-07 18:03:56 +00:00
Subject: [PATCH 130/471] * 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 };
--
2013-06-07 18:03:56 +00:00
1.8.2.1