* 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.
This commit is contained in:
proski 2004-05-17 14:10:45 +00:00
parent dc8bf1d248
commit 12ce4272ee
2 changed files with 11 additions and 1 deletions

View file

@ -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> 2004-05-14 Yoshinori K. Okuji <okuji@enbug.org>
From Sergey Matveychuk <sem@ciam.ru>: From Sergey Matveychuk <sem@ciam.ru>:

View file

@ -842,7 +842,6 @@ get_cmdline (char *prompt, char *cmdline, int maxlen,
setcursor (old_cursor); setcursor (old_cursor);
return ret; return ret;
} }
#endif /* STAGE1_5 */
int int
safe_parse_maxint (char **str_ptr, int *myint_ptr) safe_parse_maxint (char **str_ptr, int *myint_ptr)
@ -897,7 +896,9 @@ safe_parse_maxint (char **str_ptr, int *myint_ptr)
return 1; return 1;
} }
#endif /* STAGE1_5 */
#if !defined(STAGE1_5) || defined(FSYS_FAT)
int int
grub_tolower (int c) grub_tolower (int c)
{ {
@ -906,6 +907,7 @@ grub_tolower (int c)
return c; return c;
} }
#endif /* ! STAGE1_5 || FSYS_FAT */
int int
grub_isspace (int c) grub_isspace (int c)
@ -916,6 +918,7 @@ grub_isspace (int c)
return 0; return 0;
} }
#if !defined(STAGE1_5) || defined(FSYS_ISO9660)
int int
grub_memcmp (const char *s1, const char *s2, int n) 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; return 0;
} }
#endif /* ! STAGE1_5 || FSYS_ISO9660 */
#ifndef STAGE1_5 #ifndef STAGE1_5
int int