]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
* grub-core/osdep/apple/hostdisk.c (grub_util_get_fd_size): Rename to ..
authorVladimir Serbinenko <phcoder@gmail.com>
Mon, 11 Nov 2013 22:08:51 +0000 (23:08 +0100)
committerVladimir Serbinenko <phcoder@gmail.com>
Mon, 11 Nov 2013 22:08:51 +0000 (23:08 +0100)
(grub_util_get_fd_size_os): ...this.
(grub_hostdisk_flush_initial_buffer): New empty function.

ChangeLog
grub-core/osdep/apple/hostdisk.c

index 9152de1e510687de764a02768b465f9f07032d62..ab89fc9f6eae7367581cc8455280e018a1492d39 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2013-11-11  Vladimir Serbinenko  <phcoder@gmail.com>
+
+       * 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  <phcoder@gmail.com>
 
        * grub-core/gensyminfo.sh.in: Handle the case of portable output
index 5006a57d5ad1cd1d954cba64d332ca1a93b6ae1c..d0641744b3548487a0f335a657d22071478b99ba 100644 (file)
@@ -44,8 +44,8 @@
 
 # include <sys/disk.h>
 
-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)))
+{
+}