~ubuntu-branches/ubuntu/wily/grub2/wily

« back to all changes in this revision

Viewing changes to grub-core/commands/terminal.c

  • Committer: Bazaar Package Importer
  • Author(s): Colin Watson
  • Date: 2011-01-11 17:11:44 UTC
  • mto: (17.3.26 experimental)
  • mto: This revision was merged to the branch mainline in revision 60.
  • Revision ID: james.westby@ubuntu.com-20110111171144-o2h6luxzei5fivmf
Tags: upstream-1.99~20110111
ImportĀ upstreamĀ versionĀ 1.99~20110111

Show diffs side-by-side

added added

removed removed

Lines of Context:
210
210
  (void) GRUB_FIELD_MATCH (grub_term_inputs, struct abstract_terminal *, init);
211
211
  (void) GRUB_FIELD_MATCH (grub_term_inputs, struct abstract_terminal *, fini);
212
212
  return handle_command (argc, args,
213
 
                        (struct abstract_terminal **) &grub_term_inputs,
214
 
                        (struct abstract_terminal **) &grub_term_inputs_disabled,
215
 
                        grub_term_input_autoload,
216
 
                        N_ ("Active input terminals:"),
217
 
                        N_ ("Available input terminals:"));
 
213
                         (struct abstract_terminal **) (void *) &grub_term_inputs,
 
214
                         (struct abstract_terminal **) (void *) &grub_term_inputs_disabled,
 
215
                         grub_term_input_autoload,
 
216
                         N_ ("Active input terminals:"),
 
217
                         N_ ("Available input terminals:"));
218
218
}
219
219
 
220
220
static grub_err_t
225
225
  (void) GRUB_FIELD_MATCH (grub_term_outputs, struct abstract_terminal *, name);
226
226
  (void) GRUB_FIELD_MATCH (grub_term_outputs, struct abstract_terminal *, init);
227
227
  (void) GRUB_FIELD_MATCH (grub_term_outputs, struct abstract_terminal *, fini);
228
 
  return handle_command (argc, args, (struct abstract_terminal **) &grub_term_outputs,
229
 
                        (struct abstract_terminal **) &grub_term_outputs_disabled,
230
 
                        grub_term_output_autoload,
231
 
                        N_ ("Active output terminals:"),
232
 
                        N_ ("Available output terminals:"));
 
228
  return handle_command (argc, args,
 
229
                         (struct abstract_terminal **) (void *) &grub_term_outputs,
 
230
                         (struct abstract_terminal **) (void *) &grub_term_outputs_disabled,
 
231
                         grub_term_output_autoload,
 
232
                         N_ ("Active output terminals:"),
 
233
                         N_ ("Available output terminals:"));
233
234
}
234
235
 
235
236
static grub_command_t cmd_terminal_input, cmd_terminal_output;