6b2dd0f
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
f4c76c0
From: William Jon McCann <william.jon.mccann@gmail.com>
f4c76c0
Date: Wed, 15 May 2013 13:53:48 -0400
31cddd6
Subject: [PATCH] Don't print GNU GRUB header
f4c76c0
f4c76c0
No one cares.
f4c76c0
---
0ac23e2
 grub-core/normal/main.c | 8 +++++---
0ac23e2
 1 file changed, 5 insertions(+), 3 deletions(-)
f4c76c0
f4c76c0
diff --git a/grub-core/normal/main.c b/grub-core/normal/main.c
ec4acbb
index b2654ef62e8..f57b7508a76 100644
f4c76c0
--- a/grub-core/normal/main.c
f4c76c0
+++ b/grub-core/normal/main.c
0ac23e2
@@ -202,15 +202,16 @@ read_config_file (const char *config)
0ac23e2
 /* Initialize the screen.  */
0ac23e2
 void
0ac23e2
 grub_normal_init_page (struct grub_term_output *term,
0ac23e2
-		       int y)
0ac23e2
+		       int y __attribute__((__unused__)))
0ac23e2
 {
0ac23e2
+  grub_term_cls (term);
0ac23e2
+
f4c76c0
+#if 0
0ac23e2
   grub_ssize_t msg_len;
0ac23e2
   int posx;
0ac23e2
   char *msg_formatted;
0ac23e2
   grub_uint32_t *unicode_msg;
0ac23e2
   grub_uint32_t *last_position;
0ac23e2
- 
0ac23e2
-  grub_term_cls (term);
0ac23e2
 
f4c76c0
   msg_formatted = grub_xasprintf (_("GNU GRUB  version %s"), PACKAGE_VERSION);
f4c76c0
   if (!msg_formatted)
f4c76c0
@@ -235,6 +236,7 @@ grub_normal_init_page (struct grub_term_output *term,
f4c76c0
   grub_putcode ('\n', term);
f4c76c0
   grub_putcode ('\n', term);
f4c76c0
   grub_free (unicode_msg);
f4c76c0
+#endif
f4c76c0
 }
f4c76c0
 
f4c76c0
 static void