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:
parent
b99518d1ce
commit
e0a6ca52f2
12 changed files with 54 additions and 32 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue