* 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.
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
#include <grub/dl.h>
#include <grub/disk.h>
+#include <grub/misc.h>
int grub_disk_host_i_want_a_reference;
#include <grub/file.h>
#include <grub/disk.h>
#include <grub/misc.h>
+#include <grub/dl.h>
#include <dirent.h>
#include <stdio.h>
\f
-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);
}