mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-20 22:48:22 +00:00
* grub-core/commands/terminal.c (grub_cmd_terminal_input): Silence
aliasing warning. (grub_cmd_terminal_output): Likewise. Reported and tested by: Grégoire Sutre.
This commit is contained in:
1 parent
f9f376488b
commit
fc836af9a5
2 files changed
+18
-10
No files matched your search
@@ -1,3 +1,10 @@
|
|||||||
|
2011-01-08 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
|
* grub-core/commands/terminal.c (grub_cmd_terminal_input): Silence
|
||||||
|
aliasing warning.
|
||||||
|
(grub_cmd_terminal_output): Likewise.
|
||||||
|
Reported and tested by: Grégoire Sutre.
|
||||||
|
|
||||||
2011-01-08 Vladimir Serbinenko <phcoder@gmail.com>
|
2011-01-08 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
* grub-core/term/at_keyboard.c (grub_keyboard_getkey): Silence spurious
|
* grub-core/term/at_keyboard.c (grub_keyboard_getkey): Silence spurious
|
||||||
|
|||||||
@@ -210,11 +210,11 @@ grub_cmd_terminal_input (grub_command_t cmd __attribute__ ((unused)),
|
|||||||
(void) GRUB_FIELD_MATCH (grub_term_inputs, struct abstract_terminal *, init);
|
(void) GRUB_FIELD_MATCH (grub_term_inputs, struct abstract_terminal *, init);
|
||||||
(void) GRUB_FIELD_MATCH (grub_term_inputs, struct abstract_terminal *, fini);
|
(void) GRUB_FIELD_MATCH (grub_term_inputs, struct abstract_terminal *, fini);
|
||||||
return handle_command (argc, args,
|
return handle_command (argc, args,
|
||||||
(struct abstract_terminal **) &grub_term_inputs,
|
(struct abstract_terminal **) (void *) &grub_term_inputs,
|
||||||
(struct abstract_terminal **) &grub_term_inputs_disabled,
|
(struct abstract_terminal **) (void *) &grub_term_inputs_disabled,
|
||||||
grub_term_input_autoload,
|
grub_term_input_autoload,
|
||||||
N_ ("Active input terminals:"),
|
N_ ("Active input terminals:"),
|
||||||
N_ ("Available input terminals:"));
|
N_ ("Available input terminals:"));
|
||||||
}
|
}
|
||||||
|
|
||||||
static grub_err_t
|
static grub_err_t
|
||||||
@@ -225,11 +225,12 @@ grub_cmd_terminal_output (grub_command_t cmd __attribute__ ((unused)),
|
|||||||
(void) GRUB_FIELD_MATCH (grub_term_outputs, struct abstract_terminal *, name);
|
(void) GRUB_FIELD_MATCH (grub_term_outputs, struct abstract_terminal *, name);
|
||||||
(void) GRUB_FIELD_MATCH (grub_term_outputs, struct abstract_terminal *, init);
|
(void) GRUB_FIELD_MATCH (grub_term_outputs, struct abstract_terminal *, init);
|
||||||
(void) GRUB_FIELD_MATCH (grub_term_outputs, struct abstract_terminal *, fini);
|
(void) GRUB_FIELD_MATCH (grub_term_outputs, struct abstract_terminal *, fini);
|
||||||
return handle_command (argc, args, (struct abstract_terminal **) &grub_term_outputs,
|
return handle_command (argc, args,
|
||||||
(struct abstract_terminal **) &grub_term_outputs_disabled,
|
(struct abstract_terminal **) (void *) &grub_term_outputs,
|
||||||
grub_term_output_autoload,
|
(struct abstract_terminal **) (void *) &grub_term_outputs_disabled,
|
||||||
N_ ("Active output terminals:"),
|
grub_term_output_autoload,
|
||||||
N_ ("Available output terminals:"));
|
N_ ("Active output terminals:"),
|
||||||
|
N_ ("Available output terminals:"));
|
||||||
}
|
}
|
||||||
|
|
||||||
static grub_command_t cmd_terminal_input, cmd_terminal_output;
|
static grub_command_t cmd_terminal_input, cmd_terminal_output;
|
||||||
|
|||||||
Reference in new issue
Block a user