2009-12-19 Vladimir Serbinenko <phcoder@gmail.com>

* include/grub/types.h (UNUSED): Removed since it conflicts with
	NetBSD headers. All users changed to direct __attribute__ ((unused)).
	Reported by Grégoire Sutre.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2009-12-20 14:09:16 +01:00
parent b99518d1ce
commit e0a6ca52f2
12 changed files with 54 additions and 32 deletions

View file

@ -222,7 +222,8 @@ grub_mb2_unload (void)
}
static grub_err_t
grub_mb2_load_other (UNUSED grub_file_t file, UNUSED void *buffer)
grub_mb2_load_other (grub_file_t file __attribute__ ((unused)),
void *buffer __attribute__ ((unused)))
{
/* XXX Create module tag here. */
return grub_error (GRUB_ERR_UNKNOWN_OS, "currently only ELF is supported");