* include/grub/emu/hostdisk.h: Add proper declaration for grub_host_init
and grub_hostfs_init.
This commit is contained in:
parent
64db14b0cb
commit
5177391ebe
5 changed files with 15 additions and 8 deletions
|
@ -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>
|
2013-10-28 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
* grub-core/kern/emu/hostdisk.c (grub_util_check_file_presence): Use
|
* grub-core/kern/emu/hostdisk.c (grub_util_check_file_presence): Use
|
||||||
|
|
|
@ -20,9 +20,13 @@
|
||||||
/* When using the disk, make a reference to this module. Otherwise
|
/* When using the disk, make a reference to this module. Otherwise
|
||||||
the user will end up with a useless module :-). */
|
the user will end up with a useless module :-). */
|
||||||
|
|
||||||
|
#include <config.h>
|
||||||
|
#include <config-util.h>
|
||||||
|
|
||||||
#include <grub/dl.h>
|
#include <grub/dl.h>
|
||||||
#include <grub/disk.h>
|
#include <grub/disk.h>
|
||||||
#include <grub/misc.h>
|
#include <grub/misc.h>
|
||||||
|
#include <grub/emu/hostdisk.h>
|
||||||
|
|
||||||
int grub_disk_host_i_want_a_reference;
|
int grub_disk_host_i_want_a_reference;
|
||||||
|
|
||||||
|
|
|
@ -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
|
int
|
||||||
main (int argc, char *argv[])
|
main (int argc, char *argv[])
|
||||||
{
|
{
|
||||||
|
|
|
@ -84,4 +84,9 @@ struct grub_util_hostdisk_data
|
||||||
int device_map;
|
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 */
|
#endif /* ! GRUB_BIOSDISK_MACHINE_UTIL_HEADER */
|
||||||
|
|
|
@ -25,6 +25,7 @@
|
||||||
#include <grub/font.h>
|
#include <grub/font.h>
|
||||||
#include <grub/gfxmenu_view.h>
|
#include <grub/gfxmenu_view.h>
|
||||||
#include <grub/color.h>
|
#include <grub/color.h>
|
||||||
|
#include <grub/emu/hostdisk.h>
|
||||||
|
|
||||||
#define _GNU_SOURCE 1
|
#define _GNU_SOURCE 1
|
||||||
|
|
||||||
|
@ -35,9 +36,6 @@
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
|
|
||||||
void grub_hostfs_init (void);
|
|
||||||
void grub_host_init (void);
|
|
||||||
|
|
||||||
struct header
|
struct header
|
||||||
{
|
{
|
||||||
grub_uint8_t magic;
|
grub_uint8_t magic;
|
||||||
|
|
Loading…
Reference in a new issue