[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] hostfs: #undef open and close.
From: |
Vladimir 'phcoder' Serbinenko |
Subject: |
[PATCH] hostfs: #undef open and close. |
Date: |
Mon, 25 Mar 2019 16:24:50 +0100 |
>From 0cfd6226d200cce722e99230f5564e1bd9e45eff Mon Sep 17 00:00:00 2001
From: Vladimir Serbinenko <address@hidden>
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 <address@hidden>
---
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
- [PATCH] hostfs: #undef open and close.,
Vladimir 'phcoder' Serbinenko <=