aboutsummaryrefslogtreecommitdiff
path: root/sim/moxie/interp.c
diff options
context:
space:
mode:
Diffstat (limited to 'sim/moxie/interp.c')
-rw-r--r--sim/moxie/interp.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sim/moxie/interp.c b/sim/moxie/interp.c
index bcc9ad5..6de1aa0 100644
--- a/sim/moxie/interp.c
+++ b/sim/moxie/interp.c
@@ -1172,7 +1172,8 @@ free_state (SIM_DESC sd)
}
SIM_DESC
-sim_open (SIM_OPEN_KIND kind, host_callback *cb, struct bfd *abfd, char **argv)
+sim_open (SIM_OPEN_KIND kind, host_callback *cb,
+ struct bfd *abfd, char * const *argv)
{
int i;
SIM_DESC sd = sim_state_alloc (kind, cb);
@@ -1275,7 +1276,8 @@ load_dtb (SIM_DESC sd, const char *filename)
}
SIM_RC
-sim_create_inferior (SIM_DESC sd, struct bfd *prog_bfd, char **argv, char **env)
+sim_create_inferior (SIM_DESC sd, struct bfd *prog_bfd,
+ char * const *argv, char * const *env)
{
char ** avp;
int l, argc, i, tp;