dcavalca / rpms / grub2

Forked from rpms/grub2 3 years ago
Clone

Blame SOURCES/0007-remove-unused-error.h-from-kern-emu-misc.c.patch

28f7f8
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
39700a
From: Andrey Borzenkov <arvidjaar@gmail.com>
39700a
Date: Sat, 28 Dec 2013 09:01:20 +0400
28f7f8
Subject: [PATCH] remove unused error.h from kern/emu/misc.c
39700a
39700a
Fixes compilation on mingw32, where include is apparently missing.
39700a
---
39700a
 grub-core/kern/emu/misc.c | 1 -
28f7f8
 ChangeLog                 | 5 +++++
39700a
 2 files changed, 5 insertions(+), 1 deletion(-)
39700a
28f7f8
diff --git a/grub-core/kern/emu/misc.c b/grub-core/kern/emu/misc.c
28f7f8
index 43471b4efe9..bb606da2803 100644
28f7f8
--- a/grub-core/kern/emu/misc.c
28f7f8
+++ b/grub-core/kern/emu/misc.c
28f7f8
@@ -20,7 +20,6 @@
28f7f8
 #include <config.h>
28f7f8
 
28f7f8
 #include <errno.h>
28f7f8
-#include <error.h>
28f7f8
 #include <stdio.h>
28f7f8
 #include <stdlib.h>
28f7f8
 #include <stdint.h>
39700a
diff --git a/ChangeLog b/ChangeLog
28f7f8
index c33856eab8d..0401f6154f8 100644
39700a
--- a/ChangeLog
39700a
+++ b/ChangeLog
39700a
@@ -1,3 +1,8 @@
39700a
+2013-12-28  Andrey Borzenkov <arvidjaar@gmail.com>
39700a
+
39700a
+	* grub-core/kern/emu/misc.c: Remove unused error.h; fixes compilation
39700a
+	on mingw.
39700a
+
39700a
 2013-12-28  Colin Watson  <cjwatson@ubuntu.com>
39700a
 
39700a
 	* NEWS: The cmosclean command in fact dates back to 1.99.  Remove