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

@ -44,10 +44,8 @@
extern int verbosity;
extern const char *program_name;
void grub_emu_init (void);
void grub_init_all (void);
void grub_fini_all (void);
void grub_emu_post_init (void);
void grub_find_zpool_from_dir (const char *dir,
char **poolname, char **poolfs);

View file

@ -437,10 +437,10 @@ void grub_halt (void) __attribute__ ((noreturn));
#endif
#ifdef GRUB_MACHINE_EMU
/* Flag to control module autoloading in normal mode. */
extern int EXPORT_VAR(grub_no_autoload);
/* Flag to check if module loading is available. */
extern const int EXPORT_VAR(grub_no_modules);
#else
#define grub_no_autoload 0
#define grub_no_modules 0
#endif
static inline void