2009-04-17 Pavel Roskin <proski@gnu.org>
* fs/i386/pc/pxe.c (grub_pxefs_dir): Fix function prototype to match struct grub_fs.
This commit is contained in:
parent
d1a282fc83
commit
e0ff912638
2 changed files with 6 additions and 3 deletions
|
@ -1,5 +1,8 @@
|
||||||
2009-04-17 Pavel Roskin <proski@gnu.org>
|
2009-04-17 Pavel Roskin <proski@gnu.org>
|
||||||
|
|
||||||
|
* fs/i386/pc/pxe.c (grub_pxefs_dir): Fix function prototype to
|
||||||
|
match struct grub_fs.
|
||||||
|
|
||||||
* disk/ata.c (grub_ata_pciinit): Use NESTED_FUNC_ATTR.
|
* disk/ata.c (grub_ata_pciinit): Use NESTED_FUNC_ATTR.
|
||||||
* bus/usb/ohci.c (grub_ohci_pci_iter): Likewise.
|
* bus/usb/ohci.c (grub_ohci_pci_iter): Likewise.
|
||||||
* bus/usb/uhci.c (grub_uhci_pci_iter): Likewise.
|
* bus/usb/uhci.c (grub_uhci_pci_iter): Likewise.
|
||||||
|
|
|
@ -107,9 +107,9 @@ static struct grub_disk_dev grub_pxe_dev =
|
||||||
};
|
};
|
||||||
|
|
||||||
static grub_err_t
|
static grub_err_t
|
||||||
grub_pxefs_dir (grub_device_t device __attribute((unused)),
|
grub_pxefs_dir (grub_device_t device UNUSED, const char *path UNUSED,
|
||||||
const char *path __attribute((unused)),
|
int (*hook) (const char *filename,
|
||||||
int (*hook) (const char *filename, int dir) __attribute((unused)))
|
const struct grub_dirhook_info *info) UNUSED)
|
||||||
{
|
{
|
||||||
return GRUB_ERR_NONE;
|
return GRUB_ERR_NONE;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue