grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 1/3] Remove extra declaration of sleep for mingw32.


From: Mario Limonciello
Subject: [PATCH 1/3] Remove extra declaration of sleep for mingw32.
Date: Wed, 21 Sep 2011 15:49:22 -0500
User-agent: Mozilla/5.0 (X11; Linux i686; rv:6.0.2) Gecko/20110906 Thunderbird/6.0.2

=== 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 <address@hidden>
+
+       * Remove extra declaration of sleep for mingw32.
+
 2011-09-17  Grégoire Sutre <address@hidden>

        * 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)
 {


Attachment: ml_3425.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]