summaryrefslogtreecommitdiff
path: root/sim/common/sim-options.c
diff options
context:
space:
mode:
Diffstat (limited to 'sim/common/sim-options.c')
-rw-r--r--sim/common/sim-options.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/common/sim-options.c b/sim/common/sim-options.c
index ad8b1eb29b8..73935547fef 100644
--- a/sim/common/sim-options.c
+++ b/sim/common/sim-options.c
@@ -458,7 +458,7 @@ dup_arg_p (const char *arg)
/* Called by sim_open to parse the arguments. */
SIM_RC
-sim_parse_args (SIM_DESC sd, char **argv)
+sim_parse_args (SIM_DESC sd, char * const *argv)
{
int c, i, argc, num_opts, save_opterr;
char *p, *short_options;