2007-10-20 Robert Millan <rmh@aybabtu.com>

* genmk.rb (Image): Copy `extra_flags' from here ...
	(PModule): ... to here.  Use it in `#{obj}: #{src}' rule.

	* commands/i386/cpuid.c (grub_cmd_cpuid): Add __attribute__ ((unused))
	to `argc' and `args' arguments.
This commit is contained in:
robertmh 2007-10-20 18:32:18 +00:00
parent 1d284f8497
commit 54b71c4b7b
3 changed files with 13 additions and 4 deletions

View file

@ -41,9 +41,9 @@ static const struct grub_arg_option options[] =
};
static grub_err_t
grub_cmd_cpuid (struct grub_arg_list *state __attribute__ ((unused)), int argc,
char **args)
grub_cmd_cpuid (struct grub_arg_list *state __attribute__ ((unused)),
int argc __attribute__ ((unused)),
char **args __attribute__ ((unused)))
{
return !has_longmode;
}