mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-06 14:49:38 +08:00
sim: sim_{create_inferior,open,parse_args}: constify argv/env slightly
2016-01-03 Mike Frysinger <vapier@gentoo.org> * sim-options.c (sim_parse_args): Mark argv array const. * sim-options.h (sim_parse_args): Likewise.
This commit is contained in:
@ -135,7 +135,7 @@ SIM_RC sim_add_option_table (SIM_DESC sd, sim_cpu *cpu, const OPTION *table);
|
||||
MODULE_INSTALL_FN standard_install;
|
||||
|
||||
/* Called by sim_open to parse the arguments. */
|
||||
SIM_RC sim_parse_args (SIM_DESC sd, char **argv);
|
||||
SIM_RC sim_parse_args (SIM_DESC sd, char * const *argv);
|
||||
|
||||
/* Print help messages for the options. IS_COMMAND is non-zero when
|
||||
this function is called from the command line interpreter. */
|
||||
|
Reference in New Issue
Block a user