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:
proski 2008-03-30 18:32:15 +00:00
parent 8790bb0466
commit 4cb68e896b
3 changed files with 8 additions and 4 deletions

View file

@ -1,5 +1,9 @@
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.
* fs/udf.c (grub_udf_mount): Fix warning about a shadowing a
variable.
* include/grub/i386/loader.h: Change declaration of

View file

@ -22,6 +22,7 @@
#include <grub/dl.h>
#include <grub/disk.h>
#include <grub/misc.h>
int grub_disk_host_i_want_a_reference;

View file

@ -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);
}