2009-07-21 Pavel Roskin <proski@gnu.org>
* kern/dl.c (grub_dl_check_header): Make static.
This commit is contained in:
parent
6a6cbcaf5e
commit
f76ce8896a
3 changed files with 5 additions and 2 deletions
|
@ -1,3 +1,7 @@
|
|||
2009-07-21 Pavel Roskin <proski@gnu.org>
|
||||
|
||||
* kern/dl.c (grub_dl_check_header): Make static.
|
||||
|
||||
2009-07-21 Felix Zielcke <fzielcke@z-51.de>
|
||||
|
||||
* util/grub.d/30_os-prober.in: Remove unused CHAINROOT. Don't
|
||||
|
|
|
@ -85,7 +85,6 @@ struct grub_dl
|
|||
};
|
||||
typedef struct grub_dl *grub_dl_t;
|
||||
|
||||
grub_err_t EXPORT_FUNC(grub_dl_check_header) (void *ehdr, grub_size_t size);
|
||||
grub_dl_t EXPORT_FUNC(grub_dl_load_file) (const char *filename);
|
||||
grub_dl_t EXPORT_FUNC(grub_dl_load) (const char *name);
|
||||
grub_dl_t grub_dl_load_core (void *addr, grub_size_t size);
|
||||
|
|
|
@ -223,7 +223,7 @@ grub_dl_get_section_addr (grub_dl_t mod, unsigned n)
|
|||
}
|
||||
|
||||
/* Check if EHDR is a valid ELF header. */
|
||||
grub_err_t
|
||||
static grub_err_t
|
||||
grub_dl_check_header (void *ehdr, grub_size_t size)
|
||||
{
|
||||
Elf_Ehdr *e = ehdr;
|
||||
|
|
Loading…
Reference in a new issue