a5bd9f6
From a7fa3c8e8c7b2dab5a704493b7965bbc60f84bed Mon Sep 17 00:00:00 2001
a5bd9f6
From: Vladimir 'phcoder' Serbinenko <phcoder@gmail.com>
a5bd9f6
Date: Sun, 22 Jul 2012 16:21:24 +0200
a5bd9f6
Subject: [PATCH 011/364] 	Fix coreboot compilation.
a5bd9f6
a5bd9f6
	* grub-core/term/i386/pc/vga_text.c (grub_vga_text_init): Rename to ...
a5bd9f6
	(grub_vga_text_init_real): ... this.
a5bd9f6
	(grub_vga_text_fini): Rename to ...
a5bd9f6
	(grub_vga_text_fini_real): ... this.
a5bd9f6
---
a5bd9f6
 ChangeLog                         | 9 +++++++++
a5bd9f6
 grub-core/term/i386/pc/vga_text.c | 8 ++++----
a5bd9f6
 2 files changed, 13 insertions(+), 4 deletions(-)
a5bd9f6
a5bd9f6
diff --git a/ChangeLog b/ChangeLog
a5bd9f6
index 5e54eda..35e76af 100644
a5bd9f6
--- a/ChangeLog
a5bd9f6
+++ b/ChangeLog
a5bd9f6
@@ -1,3 +1,12 @@
a5bd9f6
+2012-07-22  Vladimir Serbinenko  <phcoder@gmail.com>
a5bd9f6
+
a5bd9f6
+	Fix coreboot compilation.
a5bd9f6
+
a5bd9f6
+	* grub-core/term/i386/pc/vga_text.c (grub_vga_text_init): Rename to ...
a5bd9f6
+	(grub_vga_text_init_real): ... this.
a5bd9f6
+	(grub_vga_text_fini): Rename to ...
a5bd9f6
+	(grub_vga_text_fini_real): ... this.
a5bd9f6
+
a5bd9f6
 2012-07-07  Vladimir Serbinenko  <phcoder@gmail.com>
a5bd9f6
 
a5bd9f6
 	* grub-core/Makefile.am: Fix path to boot/i386/pc/startup_raw.S.
a5bd9f6
diff --git a/grub-core/term/i386/pc/vga_text.c b/grub-core/term/i386/pc/vga_text.c
a5bd9f6
index d1e4ef9..74c155c 100644
a5bd9f6
--- a/grub-core/term/i386/pc/vga_text.c
a5bd9f6
+++ b/grub-core/term/i386/pc/vga_text.c
a5bd9f6
@@ -167,7 +167,7 @@ grub_vga_text_setcursor (struct grub_term_output *term __attribute__ ((unused)),
a5bd9f6
 }
a5bd9f6
 
a5bd9f6
 static grub_err_t
a5bd9f6
-grub_vga_text_init (struct grub_term_output *term)
a5bd9f6
+grub_vga_text_init_real (struct grub_term_output *term)
a5bd9f6
 {
a5bd9f6
 #ifdef MODESET
a5bd9f6
   struct grub_bios_int_registers regs;
a5bd9f6
@@ -186,7 +186,7 @@ grub_vga_text_init (struct grub_term_output *term)
a5bd9f6
 }
a5bd9f6
 
a5bd9f6
 static grub_err_t
a5bd9f6
-grub_vga_text_fini (struct grub_term_output *term)
a5bd9f6
+grub_vga_text_fini_real (struct grub_term_output *term)
a5bd9f6
 {
a5bd9f6
 #ifdef MODESET
a5bd9f6
   struct grub_bios_int_registers regs;
a5bd9f6
@@ -255,8 +255,8 @@ static struct grub_term_output grub_vga_text_term =
a5bd9f6
 #else
a5bd9f6
     .name = "vga_text",
a5bd9f6
 #endif
a5bd9f6
-    .init = grub_vga_text_init,
a5bd9f6
-    .fini = grub_vga_text_fini,
a5bd9f6
+    .init = grub_vga_text_init_real,
a5bd9f6
+    .fini = grub_vga_text_fini_real,
a5bd9f6
     .putchar = grub_vga_text_putchar,
a5bd9f6
     .getwh = grub_vga_text_getwh,
a5bd9f6
     .getxy = grub_vga_text_getxy,
a5bd9f6
-- 
a5bd9f6
1.8.1.4
a5bd9f6