dcavalca / rpms / grub2

Forked from rpms/grub2 3 years ago
Clone

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

23d2ea
From ccf0094aefd14d170c84209d3508f4dc6c97ff74 Mon Sep 17 00:00:00 2001
39700a
From: Andrey Borzenkov <arvidjaar@gmail.com>
39700a
Date: Sat, 28 Dec 2013 09:01:20 +0400
27a4da
Subject: [PATCH 007/260] remove unused error.h from kern/emu/misc.c
39700a
39700a
Fixes compilation on mingw32, where include is apparently missing.
39700a
---
39700a
 ChangeLog                 | 5 +++++
39700a
 grub-core/kern/emu/misc.c | 1 -
39700a
 2 files changed, 5 insertions(+), 1 deletion(-)
39700a
39700a
diff --git a/ChangeLog b/ChangeLog
27a4da
index c33856eab..0401f6154 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
39700a
diff --git a/grub-core/kern/emu/misc.c b/grub-core/kern/emu/misc.c
27a4da
index 43471b4ef..bb606da28 100644
39700a
--- a/grub-core/kern/emu/misc.c
39700a
+++ b/grub-core/kern/emu/misc.c
39700a
@@ -20,7 +20,6 @@
39700a
 #include <config.h>
39700a
 
39700a
 #include <errno.h>
39700a
-#include <error.h>
39700a
 #include <stdio.h>
39700a
 #include <stdlib.h>
39700a
 #include <stdint.h>
39700a
-- 
27a4da
2.13.0
39700a