* grub-core/kern/misc.c (__bzero): Don't compile in GRUB_UTIL.

Reported by: Yves Blusseau <blusseau@zetam.org>.
This commit is contained in:
Vladimir Serbinenko 2014-04-20 16:12:41 +02:00
parent 5a6db38d62
commit 4b8b9135f1
2 changed files with 9 additions and 0 deletions

View file

@ -1,3 +1,9 @@
2014-04-20 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/kern/misc.c (__bzero): Don't compile in GRUB_UTIL.
Reported by: Yves Blusseau <blusseau@zetam.org>.
2014-04-20 Piotr Krysiuk <piotras@gmail.com> 2014-04-20 Piotr Krysiuk <piotras@gmail.com>
* grub-core/lib/i386/relocator.c: Allow loading old kernels by placing * grub-core/lib/i386/relocator.c: Allow loading old kernels by placing

View file

@ -542,6 +542,9 @@ memset (void *s, int c, grub_size_t n)
return grub_memset (s, c, n); return grub_memset (s, c, n);
} }
#endif
#if !defined(GRUB_UTIL) && defined(__APPLE__)
void GRUB_BUILTIN_ATTR void GRUB_BUILTIN_ATTR
__bzero (void *s, grub_size_t n) __bzero (void *s, grub_size_t n)
{ {