Remove extra declaration of sleep for mingw32.
PATCH 1/3 Remove extra declaration of sleep for mingw32.
=== modified file 'ChangeLog'
ChangeLog 2011-09-21 20:36:50 +0000 renamed from ChangeLog 2011-09-17 21:40:10 +0000 +4 -0
@@ -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'
grub/util/misc.h 2011-09-21 20:36:50 +0000 renamed from grub/util/misc.h 2010-08-19 11:24:00 +0000 +0 -1
@@ -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'
misc.c 2011-09-21 20:36:50 +0000 renamed from misc.c 2010-08-23 17:56:24 +0000 +0 -5
@@ -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 +4 -0
@@ -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'
grub/util/misc.h +0 -1
@@ -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'
misc.c +0 -5
@@ -316,11 +316,6 @@return 0 ; } -void sleep (int s) -{ -Sleep (s *1000 ); -} -grub_int64_t grub_util_get_disk_size (char *name) {
Committed. Thanks. Note that your Changelog format was wrong. See the actual commit on how to do it correctly.
Quoted 47 lines · Mario Limonciello
=== modified file 'ChangeLog'
ChangeLog 2011-09-21 20:36:50 +0000 renamed from ChangeLog 2011-09-17 21:40:10 +0000 +4
-0@@ -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 forgetrawpartition(3)
=== modified file '
include/grub/util/misc.h'grub/util/misc.h 2011-09-21 20:36:50 +0000 renamed from grub/util/misc.h 2010-08-19 11:24:00 +0000 +0
-1@@ -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'misc.c 2011-09-21 20:36:50 +0000 renamed from misc.c 2010-08-23 17:56:24 +0000 +0
-5@@ -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
Signature · 2 lines
Regards Vladimir 'φ-coder/phcoder' Serbinenko