2009-07-01 Pavel Roskin <proski@gnu.org>
* kern/dl.c (grub_dl_resolve_symbol): Make static. * include/grub/dl.h: Remove grub_dl_resolve_symbol().
This commit is contained in:
parent
1b96e95249
commit
c8d229882a
3 changed files with 4 additions and 2 deletions
|
@ -1,5 +1,8 @@
|
|||
2009-07-01 Pavel Roskin <proski@gnu.org>
|
||||
|
||||
* kern/dl.c (grub_dl_resolve_symbol): Make static.
|
||||
* include/grub/dl.h: Remove grub_dl_resolve_symbol().
|
||||
|
||||
* util/misc.c: Move grub_reboot() and grub_halt() ...
|
||||
* util/grub-emu.c: ... here. Make main_env static.
|
||||
* include/grub/util/misc.h: Remove main_env.
|
||||
|
|
|
@ -113,7 +113,6 @@ void EXPORT_FUNC(grub_dl_iterate) (int (*hook) (grub_dl_t mod));
|
|||
grub_dl_t EXPORT_FUNC(grub_dl_get) (const char *name);
|
||||
grub_err_t EXPORT_FUNC(grub_dl_register_symbol) (const char *name, void *addr,
|
||||
grub_dl_t mod);
|
||||
void *EXPORT_FUNC(grub_dl_resolve_symbol) (const char *name);
|
||||
|
||||
grub_err_t grub_arch_dl_check_header (void *ehdr);
|
||||
grub_err_t grub_arch_dl_relocate_symbols (grub_dl_t mod, void *ehdr);
|
||||
|
|
|
@ -133,7 +133,7 @@ grub_symbol_hash (const char *s)
|
|||
|
||||
/* Resolve the symbol name NAME and return the address.
|
||||
Return NULL, if not found. */
|
||||
void *
|
||||
static void *
|
||||
grub_dl_resolve_symbol (const char *name)
|
||||
{
|
||||
grub_symbol_t sym;
|
||||
|
|
Loading…
Add table
Reference in a new issue