diff --git a/ChangeLog b/ChangeLog index 71a4d79ca..325652a86 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2013-10-08 Vladimir Serbinenko + + * grub-core/kern/emu/misc.c (fsync) [__MINGW32__]: Move to ... + * grub-core/osdep/windows/hostdisk.c (fsync) [__MINGW32__]: ... here. + 2013-10-08 Vladimir Serbinenko * grub-core/osdep/windows/sleep.c: Add missing config.h. diff --git a/grub-core/kern/emu/misc.c b/grub-core/kern/emu/misc.c index e68731c2f..b4d2e69b5 100644 --- a/grub-core/kern/emu/misc.c +++ b/grub-core/kern/emu/misc.c @@ -152,12 +152,3 @@ grub_get_time_ms (void) return (tv.tv_sec * 1000 + tv.tv_usec / 1000); } - -#ifdef __MINGW32__ - -int fsync (int fno __attribute__ ((unused))) -{ - return 0; -} - -#endif diff --git a/grub-core/osdep/windows/hostdisk.c b/grub-core/osdep/windows/hostdisk.c index 69353d6c5..10ae6fd53 100644 --- a/grub-core/osdep/windows/hostdisk.c +++ b/grub-core/osdep/windows/hostdisk.c @@ -255,3 +255,13 @@ canonicalize_file_name (const char *path) #endif return ret; } + + +#ifdef __MINGW32__ + +int fsync (int fno __attribute__ ((unused))) +{ + return 0; +} + +#endif