From 394c3e0ac2c7243c3f41f4a8b6fe1edade688e92 Mon Sep 17 00:00:00 2001 From: Vladimir Serbinenko Date: Mon, 11 Nov 2013 23:08:51 +0100 Subject: [PATCH] * grub-core/osdep/apple/hostdisk.c (grub_util_get_fd_size): Rename to .. (grub_util_get_fd_size_os): ...this. (grub_hostdisk_flush_initial_buffer): New empty function. --- ChangeLog | 6 ++++++ grub-core/osdep/apple/hostdisk.c | 9 +++++++-- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 9152de1e5..ab89fc9f6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2013-11-11 Vladimir Serbinenko + + * grub-core/osdep/apple/hostdisk.c (grub_util_get_fd_size): Rename to .. + (grub_util_get_fd_size_os): ...this. + (grub_hostdisk_flush_initial_buffer): New empty function. + 2013-11-11 Vladimir Serbinenko * grub-core/gensyminfo.sh.in: Handle the case of portable output diff --git a/grub-core/osdep/apple/hostdisk.c b/grub-core/osdep/apple/hostdisk.c index 5006a57d5..d0641744b 100644 --- a/grub-core/osdep/apple/hostdisk.c +++ b/grub-core/osdep/apple/hostdisk.c @@ -44,8 +44,8 @@ # include -grub_uint64_t -grub_util_get_fd_size (grub_util_fd_t fd, const char *name, unsigned *log_secsize) +grub_int64_t +grub_util_get_fd_size_os (grub_util_fd_t fd, const char *name, unsigned *log_secsize) { unsigned long long nr; unsigned sector_size, log_sector_size; @@ -88,3 +88,8 @@ grub_util_fd_open (const char *os_dev, int flags) return ret; } + +void +grub_hostdisk_flush_initial_buffer (const char *os_dev __attribute__ ((unused))) +{ +}