]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
hostfs: #undef open and close.
authorVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Mon, 25 Mar 2019 15:24:50 +0000 (16:24 +0100)
committerDaniel Kiper <daniel.kiper@oracle.com>
Fri, 7 Jun 2019 13:36:28 +0000 (15:36 +0200)
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 <phcoder@google.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
grub-core/kern/emu/hostfs.c

index cee70413d144945b43e7c917d0d414048f199e36..cb532105ebbd06cddc3c8488cb651f33871e63b0 100644 (file)
@@ -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",