nalika / rpms / grub2

Forked from rpms/grub2 2 years ago
Clone

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

39700a
From 904bd6b3cb12977def4f940e90aca3fe557c3bb5 Mon Sep 17 00:00:00 2001
39700a
From: Andrey Borzenkov <arvidjaar@gmail.com>
39700a
Date: Sat, 28 Dec 2013 09:01:20 +0400
39700a
Subject: [PATCH 007/143] 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
39700a
index c33856e..0401f61 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
39700a
index 43471b4..bb606da 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
-- 
39700a
1.9.3
39700a