=== modified file 'ChangeLog'
--- ChangeLog 2011-09-17 21:40:10 +0000
+++ ChangeLog 2011-09-21 20:36:50 +0000
@@ -1,3 +1,7 @@
+2011-09-21 Mario Limonciello <[email protected]>
+
+ * Remove extra declaration of sleep for mingw32.
+
2011-09-17 Grégoire Sutre <[email protected]>
* Makefile.util.def (grub-mkrelpath): Add LIBUTIL for getrawpartition(3)
=== modified file 'include/grub/util/misc.h'
--- include/grub/util/misc.h 2010-08-19 11:24:00 +0000
+++ include/grub/util/misc.h 2011-09-21 20:36:50 +0000
@@ -47,7 +47,6 @@
void sync (void);
int fsync (int fno);
-void sleep(int s);
grub_int64_t grub_util_get_disk_size (char *name);
=== modified file 'util/misc.c'
--- util/misc.c 2010-08-23 17:56:24 +0000
+++ util/misc.c 2011-09-21 20:36:50 +0000
@@ -316,11 +316,6 @@
return 0;
}
-void sleep (int s)
-{
- Sleep (s * 1000);
-}
-
grub_int64_t
grub_util_get_disk_size (char *name)
{
=== modified file 'ChangeLog'
--- ChangeLog 2011-09-17 21:40:10 +0000
+++ ChangeLog 2011-09-21 20:36:50 +0000
@@ -1,3 +1,7 @@
+2011-09-21 Mario Limonciello <[email protected]>
+
+ * Remove extra declaration of sleep for mingw32.
+
2011-09-17 Grégoire Sutre <[email protected]>
* Makefile.util.def (grub-mkrelpath): Add LIBUTIL for getrawpartition(3)
=== modified file 'include/grub/util/misc.h'
--- include/grub/util/misc.h 2010-08-19 11:24:00 +0000
+++ include/grub/util/misc.h 2011-09-21 20:36:50 +0000
@@ -47,7 +47,6 @@
void sync (void);
int fsync (int fno);
-void sleep(int s);
grub_int64_t grub_util_get_disk_size (char *name);
=== modified file 'util/misc.c'
--- util/misc.c 2010-08-23 17:56:24 +0000
+++ util/misc.c 2011-09-21 20:36:50 +0000
@@ -316,11 +316,6 @@
return 0;
}
-void sleep (int s)
-{
- Sleep (s * 1000);
-}
-
grub_int64_t
grub_util_get_disk_size (char *name)
{
_______________________________________________
Grub-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/grub-devel