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

@ -62,7 +62,7 @@ grub_getline (void)
}
static grub_err_t
grub_cmd_read (grub_command_t cmd UNUSED, int argc, char **args)
grub_cmd_read (grub_command_t cmd __attribute__ ((unused)), int argc, char **args)
{
char *line = grub_getline ();
if (! line)