Make 'make check' work on emu.

This commit is contained in:
Vladimir 'phcoder' Serbinenko 2013-04-27 02:00:16 +02:00
parent db99fbe83f
commit a6393224c4
16 changed files with 82 additions and 49 deletions

View file

@ -55,8 +55,6 @@ static jmp_buf main_env;
/* Store the prefix specified by an argument. */
static char *root_dev = NULL, *dir = NULL;
int grub_no_autoload;
grub_addr_t grub_modbase = 0;
void
@ -171,7 +169,6 @@ void grub_hostfs_init (void);
void grub_hostfs_fini (void);
void grub_host_init (void);
void grub_host_fini (void);
void grub_emu_init (void);
int
main (int argc, char *argv[])
@ -208,7 +205,6 @@ main (int argc, char *argv[])
}
signal (SIGINT, SIG_IGN);
grub_emu_init ();
grub_console_init ();
grub_host_init ();
@ -219,8 +215,6 @@ main (int argc, char *argv[])
grub_hostfs_init ();
grub_emu_post_init ();
/* Make sure that there is a root device. */
if (! root_dev)
root_dev = grub_strdup ("host");