commit-grub
[Top][All Lists]
Advanced

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

[1710] 2008-07-15 Pavel Roskin <address@hidden>


From: Pavel Roskin
Subject: [1710] 2008-07-15 Pavel Roskin <address@hidden>
Date: Tue, 15 Jul 2008 13:27:02 +0000

Revision: 1710
          http://svn.sv.gnu.org/viewvc/?view=rev&root=grub&revision=1710
Author:   proski
Date:     2008-07-15 13:27:02 +0000 (Tue, 15 Jul 2008)

Log Message:
-----------
2008-07-15  Pavel Roskin  <address@hidden>

        * term/ieee1275/ofconsole.c: Disable code unused on i386.

Modified Paths:
--------------
    trunk/grub2/ChangeLog
    trunk/grub2/term/ieee1275/ofconsole.c

Modified: trunk/grub2/ChangeLog
===================================================================
--- trunk/grub2/ChangeLog       2008-07-15 13:22:27 UTC (rev 1709)
+++ trunk/grub2/ChangeLog       2008-07-15 13:27:02 UTC (rev 1710)
@@ -1,5 +1,7 @@
 2008-07-15  Pavel Roskin  <address@hidden>
 
+       * term/ieee1275/ofconsole.c: Disable code unused on i386.
+
        * kern/ieee1275/ieee1275.c (grub_ieee1275_get_integer_property):
        Fix comparison between signed and unsigned.
 

Modified: trunk/grub2/term/ieee1275/ofconsole.c
===================================================================
--- trunk/grub2/term/ieee1275/ofconsole.c       2008-07-15 13:22:27 UTC (rev 
1709)
+++ trunk/grub2/term/ieee1275/ofconsole.c       2008-07-15 13:27:02 UTC (rev 
1710)
@@ -33,8 +33,10 @@
 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 @@
   *highlight_color = grub_ofconsole_highlight_color;
 }
 
+#ifndef __i386__
 static int
 grub_ofconsole_readkey (int *key)
 {
@@ -226,6 +229,7 @@
   
   return key;
 }
+#endif
 
 static grub_uint16_t
 grub_ofconsole_getxy (void)






reply via email to

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