From 2e3d4f4d5d386995e99d035354a9e411d1dc0331 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sun, 3 Jan 2016 01:51:44 -0500 Subject: sim: sim_{create_inferior,open,parse_args}: constify argv/env slightly 2016-01-03 Mike Frysinger * sim-options.c (sim_parse_args): Mark argv array const. * sim-options.h (sim_parse_args): Likewise. --- sim/m68hc11/interp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sim/m68hc11/interp.c') diff --git a/sim/m68hc11/interp.c b/sim/m68hc11/interp.c index 25cea7c..ab20571 100644 --- a/sim/m68hc11/interp.c +++ b/sim/m68hc11/interp.c @@ -418,7 +418,7 @@ static int m68hc11_reg_store (SIM_CPU *, int, unsigned char *, int); SIM_DESC sim_open (SIM_OPEN_KIND kind, host_callback *callback, - bfd *abfd, char **argv) + bfd *abfd, char * const *argv) { int i; SIM_DESC sd; @@ -547,7 +547,7 @@ sim_info (SIM_DESC sd, int verbose) SIM_RC sim_create_inferior (SIM_DESC sd, struct bfd *abfd, - char **argv, char **env) + char * const *argv, char * const *env) { return sim_prepare_for_program (sd, abfd); } -- cgit v1.1