mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-21 06:49:35 +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
+12
-4
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,8 +210,8 @@ 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:"));
|
||||||
@@ -225,8 +225,9 @@ 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,
|
||||||
|
(struct abstract_terminal **) (void *) &grub_term_outputs_disabled,
|
||||||
grub_term_output_autoload,
|
grub_term_output_autoload,
|
||||||
N_ ("Active output terminals:"),
|
N_ ("Active output terminals:"),
|
||||||
N_ ("Available output terminals:"));
|
N_ ("Available output terminals:"));
|
||||||
|
|||||||
Reference in new issue
Block a user