From: Vladimir 'phcoder' Serbinenko Date: Mon, 25 Mar 2019 15:24:50 +0000 (+0100) Subject: hostfs: #undef open and close. X-Git-Tag: grub-2.04~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5610734770fa421cd479e43368f91d16d2eb2a8c;p=thirdparty%2Fgrub.git 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 --- 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",