2018-03-16 19:58:23 +00:00
|
|
|
From 206697fab4e803807a83f1f7f330d3d009aba2fd Mon Sep 17 00:00:00 2001
|
2018-02-27 18:56:41 +00:00
|
|
|
From: Javier Martinez Canillas <javierm@redhat.com>
|
|
|
|
Date: Tue, 6 Feb 2018 11:02:09 +0100
|
2018-03-16 19:23:37 +00:00
|
|
|
Subject: [PATCH 203/216] Remove duplicated grub_exit() definition for grub-emu
|
2018-02-27 18:56:41 +00:00
|
|
|
platform
|
|
|
|
|
|
|
|
The grub_exit() function signature was changed on all platforms to take a
|
|
|
|
return code, but latter on a following commit the grub_exit() for the emu
|
|
|
|
platform was duplicated. It causes a build error so remove the duplicated
|
|
|
|
function definition.
|
|
|
|
|
|
|
|
Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
|
|
|
|
---
|
|
|
|
grub-core/kern/emu/main.c | 6 ------
|
|
|
|
1 file changed, 6 deletions(-)
|
|
|
|
|
|
|
|
diff --git a/grub-core/kern/emu/main.c b/grub-core/kern/emu/main.c
|
|
|
|
index 7e47ec81263..55ea5a11ccd 100644
|
|
|
|
--- a/grub-core/kern/emu/main.c
|
|
|
|
+++ b/grub-core/kern/emu/main.c
|
|
|
|
@@ -72,12 +72,6 @@ grub_exit (int retval __attribute__((unused)))
|
|
|
|
grub_reboot ();
|
|
|
|
}
|
|
|
|
|
|
|
|
-void
|
|
|
|
-grub_exit (int retval __attribute__((unused)))
|
|
|
|
-{
|
|
|
|
- grub_reboot ();
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
void
|
|
|
|
grub_machine_init (void)
|
|
|
|
{
|
|
|
|
--
|
|
|
|
2.15.0
|
|
|
|
|