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:
parent
317e1a44b5
commit
b4ba690abd
2 changed files with 9 additions and 0 deletions
|
@ -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>
|
2009-05-08 Robert Millan <rmh.grub@aybabtu.com>
|
||||||
|
|
||||||
* util/i386/pc/grub-setup.c (setup): Factorize find_usable_region(),
|
* util/i386/pc/grub-setup.c (setup): Factorize find_usable_region(),
|
||||||
|
|
|
@ -480,6 +480,7 @@ grub_dl_resolve_dependencies (grub_dl_t mod, Elf_Ehdr *e)
|
||||||
return GRUB_ERR_NONE;
|
return GRUB_ERR_NONE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifndef GRUB_UTIL
|
||||||
int
|
int
|
||||||
grub_dl_ref (grub_dl_t mod)
|
grub_dl_ref (grub_dl_t mod)
|
||||||
{
|
{
|
||||||
|
@ -501,6 +502,7 @@ grub_dl_unref (grub_dl_t mod)
|
||||||
|
|
||||||
return --mod->ref_count;
|
return --mod->ref_count;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
static void
|
static void
|
||||||
grub_dl_flush_cache (grub_dl_t mod)
|
grub_dl_flush_cache (grub_dl_t mod)
|
||||||
|
|
Loading…
Reference in a new issue