* include/grub/emu/hostdisk.h: Add proper declaration for grub_host_init

and grub_hostfs_init.
This commit is contained in:
Vladimir Serbinenko 2013-10-28 13:33:12 +01:00
parent 64db14b0cb
commit 5177391ebe
5 changed files with 15 additions and 8 deletions

View file

@ -1,3 +1,8 @@
2013-10-28 Vladimir Serbinenko <phcoder@gmail.com>
* include/grub/emu/hostdisk.h: Add proper declaration for grub_host_init
and grub_hostfs_init.
2013-10-28 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/kern/emu/hostdisk.c (grub_util_check_file_presence): Use

View file

@ -20,9 +20,13 @@
/* When using the disk, make a reference to this module. Otherwise
the user will end up with a useless module :-). */
#include <config.h>
#include <config-util.h>
#include <grub/dl.h>
#include <grub/disk.h>
#include <grub/misc.h>
#include <grub/emu/hostdisk.h>
int grub_disk_host_i_want_a_reference;

View file

@ -164,11 +164,6 @@ static struct argp argp = {
void grub_hostfs_init (void);
void grub_hostfs_fini (void);
void grub_host_init (void);
void grub_host_fini (void);
int
main (int argc, char *argv[])
{

View file

@ -84,4 +84,9 @@ struct grub_util_hostdisk_data
int device_map;
};
void grub_host_init (void);
void grub_host_fini (void);
void grub_hostfs_init (void);
void grub_hostfs_fini (void);
#endif /* ! GRUB_BIOSDISK_MACHINE_UTIL_HEADER */

View file

@ -25,6 +25,7 @@
#include <grub/font.h>
#include <grub/gfxmenu_view.h>
#include <grub/color.h>
#include <grub/emu/hostdisk.h>
#define _GNU_SOURCE 1
@ -35,9 +36,6 @@
#include <unistd.h>
#include <errno.h>
void grub_hostfs_init (void);
void grub_host_init (void);
struct header
{
grub_uint8_t magic;