Remove extra declaration of sleep for mingw32.
* util/misc.c (sleep) [__MINGW32__]: Removed. * include/grub/util/misc.h (sleep) [__MINGW32__]: Likewise.
This commit is contained in:
parent
e0b0dc837b
commit
cca7ccd8ff
3 changed files with 7 additions and 6 deletions
|
@ -1,3 +1,10 @@
|
||||||
|
2011-09-29 Mario Limonciello <mario_limonciello@dell.com>
|
||||||
|
|
||||||
|
Remove extra declaration of sleep for mingw32.
|
||||||
|
|
||||||
|
* util/misc.c (sleep) [__MINGW32__]: Removed.
|
||||||
|
* include/grub/util/misc.h (sleep) [__MINGW32__]: Likewise.
|
||||||
|
|
||||||
2011-09-28 Grégoire Sutre <gregoire.sutre@gmail.com>
|
2011-09-28 Grégoire Sutre <gregoire.sutre@gmail.com>
|
||||||
|
|
||||||
* include/grub/bsdlabel.h (grub_partition_bsd_disk_label): Add fields
|
* include/grub/bsdlabel.h (grub_partition_bsd_disk_label): Add fields
|
||||||
|
|
|
@ -47,7 +47,6 @@ void grub_util_write_image_at (const void *img, size_t size, off_t offset,
|
||||||
|
|
||||||
void sync (void);
|
void sync (void);
|
||||||
int fsync (int fno);
|
int fsync (int fno);
|
||||||
void sleep(int s);
|
|
||||||
|
|
||||||
grub_int64_t grub_util_get_disk_size (char *name);
|
grub_int64_t grub_util_get_disk_size (char *name);
|
||||||
|
|
||||||
|
|
|
@ -316,11 +316,6 @@ int fsync (int fno __attribute__ ((unused)))
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
void sleep (int s)
|
|
||||||
{
|
|
||||||
Sleep (s * 1000);
|
|
||||||
}
|
|
||||||
|
|
||||||
grub_int64_t
|
grub_int64_t
|
||||||
grub_util_get_disk_size (char *name)
|
grub_util_get_disk_size (char *name)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue