>From 0cfd6226d200cce722e99230f5564e1bd9e45eff Mon Sep 17 00:00:00 2001
From: Vladimir Serbinenko <phco...@google.com>
Date: Mon, 25 Mar 2019 16:14:54 +0100
Subject: [PATCH] hostfs: #undef open and close.

Unlike in case of disks in this case it's just a single place, so it's easier to
just #undef

Signed-off-by: Vladimir Serbinenko <phco...@google.com>
---
 grub-core/kern/emu/hostfs.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/grub-core/kern/emu/hostfs.c b/grub-core/kern/emu/hostfs.c
index 7b28c001f..0c6afcfae 100644
--- a/grub-core/kern/emu/hostfs.c
+++ b/grub-core/kern/emu/hostfs.c
@@ -173,6 +173,9 @@ grub_hostfs_label (grub_device_t device
__attribute ((unused)),
   return GRUB_ERR_NONE;
 }

+#undef open
+#undef close
+
 static struct grub_fs grub_hostfs_fs =
   {
     .name = "hostfs",
-- 
2.11.0


-- 
Regards
Vladimir 'phcoder' Serbinenko

_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to