* grub-core/kern/dl.c (grub_dl_add): Make global in order for gdb_grub

to work.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2012-03-19 11:10:11 +01:00
parent d2d58d0ab4
commit ba287dd8e0
2 changed files with 9 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2012-03-19 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/kern/dl.c (grub_dl_add): Make global in order for gdb_grub
to work.
2012-03-19 Vladimir Serbinenko <phcoder@gmail.com> 2012-03-19 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/fs/jfs.c (grub_jfs_label): Use first label if second one * grub-core/fs/jfs.c (grub_jfs_label): Use first label if second one

View file

@ -48,7 +48,10 @@
grub_dl_t grub_dl_head = 0; grub_dl_t grub_dl_head = 0;
static grub_err_t grub_err_t
grub_dl_add (grub_dl_t mod);
grub_err_t
grub_dl_add (grub_dl_t mod) grub_dl_add (grub_dl_t mod)
{ {
if (grub_dl_get (mod->name)) if (grub_dl_get (mod->name))