mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-26 17:19:22 +00:00
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:
1 parent
e0b0dc837b
commit
cca7ccd8ff
3 files changed
+7
-6
No files matched your search
@@ -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>
|
||||
|
||||
* 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);
|
||||
int fsync (int fno);
|
||||
void sleep(int s);
|
||||
|
||||
grub_int64_t grub_util_get_disk_size (char *name);
|
||||
|
||||
|
||||
@@ -316,11 +316,6 @@ int fsync (int fno __attribute__ ((unused)))
|
||||
return 0;
|
||||
}
|
||||
|
||||
void sleep (int s)
|
||||
{
|
||||
Sleep (s * 1000);
|
||||
}
|
||||
|
||||
grub_int64_t
|
||||
grub_util_get_disk_size (char *name)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user