2019-08-01 01:02:52 +00:00
|
|
|
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
|
|
From: Javier Martinez Canillas <javierm@redhat.com>
|
|
|
|
Date: Tue, 6 Feb 2018 11:02:09 +0100
|
|
|
|
Subject: [PATCH] Remove duplicated grub_exit() definition for grub-emu
|
|
|
|
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
|
2022-03-29 18:03:52 +00:00
|
|
|
index 7e47ec812..55ea5a11c 100644
|
2019-08-01 01:02:52 +00:00
|
|
|
--- 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)
|
|
|
|
{
|