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