Blame SOURCES/0080-grub-core-kern-misc.c-__bzero-Don-t-compile-in-GRUB_.patch

a85e8e
From ad3da599d5735859d141ecb8cb9a31f126cd6aa5 Mon Sep 17 00:00:00 2001
a85e8e
From: Vladimir Serbinenko <phcoder@gmail.com>
a85e8e
Date: Sun, 20 Apr 2014 16:12:41 +0200
a85e8e
Subject: [PATCH 080/260] * grub-core/kern/misc.c (__bzero): Don't compile in
a85e8e
 GRUB_UTIL.
a85e8e
a85e8e
	Reported by: Yves Blusseau <blusseau@zetam.org>.
a85e8e
---
a85e8e
 ChangeLog             | 6 ++++++
a85e8e
 grub-core/kern/misc.c | 3 +++
a85e8e
 2 files changed, 9 insertions(+)
a85e8e
a85e8e
diff --git a/ChangeLog b/ChangeLog
a85e8e
index 73a892899..3b61c0a99 100644
a85e8e
--- a/ChangeLog
a85e8e
+++ b/ChangeLog
a85e8e
@@ -1,3 +1,9 @@
a85e8e
+2014-04-20  Vladimir Serbinenko  <phcoder@gmail.com>
a85e8e
+
a85e8e
+	* grub-core/kern/misc.c (__bzero): Don't compile in GRUB_UTIL.
a85e8e
+
a85e8e
+	Reported by: Yves Blusseau <blusseau@zetam.org>.
a85e8e
+
a85e8e
 2014-04-20  Piotr Krysiuk  <piotras@gmail.com>
a85e8e
 
a85e8e
 	* grub-core/lib/i386/relocator.c: Allow loading old kernels by placing
a85e8e
diff --git a/grub-core/kern/misc.c b/grub-core/kern/misc.c
a85e8e
index 54db2e125..c5c815d8d 100644
a85e8e
--- a/grub-core/kern/misc.c
a85e8e
+++ b/grub-core/kern/misc.c
a85e8e
@@ -542,6 +542,9 @@ memset (void *s, int c, grub_size_t n)
a85e8e
   return grub_memset (s, c, n);
a85e8e
 }
a85e8e
 
a85e8e
+#endif
a85e8e
+
a85e8e
+#if !defined(GRUB_UTIL) && defined(__APPLE__)
a85e8e
 void GRUB_BUILTIN_ATTR
a85e8e
 __bzero (void *s, grub_size_t n)
a85e8e
 {
a85e8e
-- 
a85e8e
2.13.0
a85e8e