* 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.
This commit is contained in:
Vladimir Serbinenko 2013-11-11 23:08:51 +01:00
parent 60d31116c2
commit 394c3e0ac2
2 changed files with 13 additions and 2 deletions

View file

@ -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

View 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)))
{
}