]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
* stage2/char_io.c (safe_parse_maxint): Disable for stage 1.5.
authorproski <proski@localhost>
Mon, 17 May 2004 14:10:45 +0000 (14:10 +0000)
committerproski <proski@localhost>
Mon, 17 May 2004 14:10:45 +0000 (14:10 +0000)
(grub_tolower): Disable for stage 1.5 except fat_stage1_5.
(grub_memcmp): Disable for stage 1.5 except iso9660_stage1_5.

ChangeLog
stage2/char_io.c

index 1963a4beb0bb02741a9feb6d5d82ac8917e93657..2d6319368ce8958136a422f508941d3b8b1f0994 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2004-05-17  Pavel Roskin  <proski@gnu.org>
+
+       * stage2/char_io.c (safe_parse_maxint): Disable for stage 1.5.
+       (grub_tolower): Disable for stage 1.5 except fat_stage1_5.
+       (grub_memcmp): Disable for stage 1.5 except iso9660_stage1_5.
+
 2004-05-14  Yoshinori K. Okuji  <okuji@enbug.org>
 
        From Sergey Matveychuk <sem@ciam.ru>:
index b89f3bd50461a1ffc2a2614b87d26e9fb3a9c334..3ff110bbcc9625493e42a9c9b1af0a218f20dfde 100644 (file)
@@ -842,7 +842,6 @@ get_cmdline (char *prompt, char *cmdline, int maxlen,
   setcursor (old_cursor);
   return ret;
 }
-#endif /* STAGE1_5 */
 
 int
 safe_parse_maxint (char **str_ptr, int *myint_ptr)
@@ -897,7 +896,9 @@ safe_parse_maxint (char **str_ptr, int *myint_ptr)
 
   return 1;
 }
+#endif /* STAGE1_5 */
 
+#if !defined(STAGE1_5) || defined(FSYS_FAT)
 int
 grub_tolower (int c)
 {
@@ -906,6 +907,7 @@ grub_tolower (int c)
 
   return c;
 }
+#endif /* ! STAGE1_5 || FSYS_FAT */
 
 int
 grub_isspace (int c)
@@ -916,6 +918,7 @@ grub_isspace (int c)
   return 0;
 }
 
+#if !defined(STAGE1_5) || defined(FSYS_ISO9660)
 int
 grub_memcmp (const char *s1, const char *s2, int n)
 {
@@ -932,6 +935,7 @@ grub_memcmp (const char *s1, const char *s2, int n)
 
   return 0;
 }
+#endif /* ! STAGE1_5 || FSYS_ISO9660 */
 
 #ifndef STAGE1_5
 int