From 40d8754bd7bc2a35cf508ecb03099e6b54c207fb Mon Sep 17 00:00:00 2001 From: Vladimir 'phcoder' Serbinenko Date: Mon, 25 Mar 2019 16:24:50 +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 Reviewed-by: Daniel Kiper --- 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 cee70413d..cb532105e 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",