* grub-core/kern/emu/hostdisk.c (grub_util_get_fd_size): Adapt for

mingw32 as well based on grub_util_get_disk_size.
	* util/misc.c (grub_util_get_disk_size): Removed. all users switched to
	grub_util_get_fd_size.
	(sync): Removed.
	(fsync): Moved to ...
	* grub-core/kern/emu/misc.c (fsync): ... here.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2013-08-22 16:50:12 +02:00
parent f82d79c984
commit 984cfd8a79
8 changed files with 106 additions and 94 deletions

View file

@ -44,11 +44,6 @@ void grub_util_write_image_at (const void *img, size_t size, off_t offset,
#define fseeko fseeko64
#define ftello ftello64
void sync (void);
int fsync (int fno);
grub_int64_t grub_util_get_disk_size (char *name);
#endif