* util/grub-mklayout.c (console_grub_equivalence): Make "layout"

a const char *.
	(argp_parser): Remove unused variable.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2012-02-10 13:42:00 +01:00
parent 31731fc04f
commit 15b81d49bc
2 changed files with 7 additions and 3 deletions

View file

@ -1,3 +1,9 @@
2012-02-10 Vladimir Serbinenko <phcoder@gmail.com>
* util/grub-mklayout.c (console_grub_equivalence): Make "layout"
a const char *.
(argp_parser): Remove unused variable.
2012-02-10 Vladimir Serbinenko <phcoder@gmail.com> 2012-02-10 Vladimir Serbinenko <phcoder@gmail.com>
* util/grub-mkfont.c (grub_font_info): Make name a const char *. * util/grub-mkfont.c (grub_font_info): Make name a const char *.

View file

@ -52,7 +52,7 @@ static struct argp_option options[] = {
struct console_grub_equivalence struct console_grub_equivalence
{ {
char *layout; const char *layout;
grub_uint32_t grub; grub_uint32_t grub;
}; };
@ -419,8 +419,6 @@ argp_parser (int key, char *arg, struct argp_state *state)
know is a pointer to our arguments structure. */ know is a pointer to our arguments structure. */
struct arguments *arguments = state->input; struct arguments *arguments = state->input;
char *p;
switch (key) switch (key)
{ {
case 'i': case 'i':