]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
2008-07-15 Pavel Roskin <proski@gnu.org>
authorproski <proski@localhost>
Tue, 15 Jul 2008 13:27:02 +0000 (13:27 +0000)
committerproski <proski@localhost>
Tue, 15 Jul 2008 13:27:02 +0000 (13:27 +0000)
* term/ieee1275/ofconsole.c: Disable code unused on i386.

ChangeLog
term/ieee1275/ofconsole.c

index a1c46af01505d582a4c0c755ed7f46f07a3c4700..cf4386f3493ca22dc3c317f2ff2d6e5c84b11219 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2008-07-15  Pavel Roskin  <proski@gnu.org>
 
+       * term/ieee1275/ofconsole.c: Disable code unused on i386.
+
        * kern/ieee1275/ieee1275.c (grub_ieee1275_get_integer_property):
        Fix comparison between signed and unsigned.
 
index 5d701ca64de3c772f8fc0b0dd82740d42035a146..faa104926ec43fa3bbf7ebd38dbd98d81fb3fc2b 100644 (file)
@@ -33,8 +33,10 @@ static grub_uint8_t grub_ofconsole_height;
 static int grub_curr_x;
 static int grub_curr_y;
 
+#ifndef __i386__
 static int grub_keybuf;
 static int grub_buflen;
+#endif
 
 struct color
 {
@@ -142,6 +144,7 @@ grub_ofconsole_getcolor (grub_uint8_t *normal_color, grub_uint8_t *highlight_col
   *highlight_color = grub_ofconsole_highlight_color;
 }
 
+#ifndef __i386__
 static int
 grub_ofconsole_readkey (int *key)
 {
@@ -226,6 +229,7 @@ grub_ofconsole_getkey (void)
   
   return key;
 }
+#endif
 
 static grub_uint16_t
 grub_ofconsole_getxy (void)