2009-05-09 Vladimir Serbinenko <phcoder@gmail.com>

Fixed grub-emu

	* kern/dl.c (grub_dl_ref): omit when compiling grub-emu
	(grub_dl_ref): likewise
This commit is contained in:
phcoder 2009-05-09 10:58:43 +00:00
parent 317e1a44b5
commit b4ba690abd
2 changed files with 9 additions and 0 deletions

View file

@ -1,3 +1,10 @@
2009-05-09 Vladimir Serbinenko <phcoder@gmail.com>
Fixed grub-emu
* kern/dl.c (grub_dl_ref): omit when compiling grub-emu
(grub_dl_ref): likewise
2009-05-08 Robert Millan <rmh.grub@aybabtu.com>
* util/i386/pc/grub-setup.c (setup): Factorize find_usable_region(),

View file

@ -480,6 +480,7 @@ grub_dl_resolve_dependencies (grub_dl_t mod, Elf_Ehdr *e)
return GRUB_ERR_NONE;
}
#ifndef GRUB_UTIL
int
grub_dl_ref (grub_dl_t mod)
{
@ -501,6 +502,7 @@ grub_dl_unref (grub_dl_t mod)
return --mod->ref_count;
}
#endif
static void
grub_dl_flush_cache (grub_dl_t mod)