2008-03-30 Pavel Roskin <proski@gnu.org>
* disk/host.c: Include grub/misc.h to fix a warning. * util/hostfs.c: Use GRUB_MOD_INIT and GRUB_MOD_FINI to fix warnings about implicit declarations.
This commit is contained in:
parent
8790bb0466
commit
4cb68e896b
3 changed files with 8 additions and 4 deletions
|
@ -21,6 +21,7 @@
|
|||
#include <grub/file.h>
|
||||
#include <grub/disk.h>
|
||||
#include <grub/misc.h>
|
||||
#include <grub/dl.h>
|
||||
|
||||
#include <dirent.h>
|
||||
#include <stdio.h>
|
||||
|
@ -151,14 +152,12 @@ static struct grub_fs grub_hostfs_fs =
|
|||
|
||||
|
||||
|
||||
void
|
||||
grub_hostfs_init (void)
|
||||
GRUB_MOD_INIT(hostfs)
|
||||
{
|
||||
grub_fs_register (&grub_hostfs_fs);
|
||||
}
|
||||
|
||||
void
|
||||
grub_hostfs_fini (void)
|
||||
GRUB_MOD_FINI(hostfs)
|
||||
{
|
||||
grub_fs_unregister (&grub_hostfs_fs);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue