X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=sim%2Ferc32%2Finterf.c;h=89f747fd6e44dc0cfa91fd8141d36eafd640669a;hb=50838d1be72ddd30e0b5f081933482424ae5a6b0;hp=7f3b8dfee8c23ee8bbe52c62d2c26aab2693d693;hpb=34fed69938f1296b62354b2a825b49602fe7af50;p=deliverable%2Fbinutils-gdb.git diff --git a/sim/erc32/interf.c b/sim/erc32/interf.c index 7f3b8dfee8..89f747fd6e 100644 --- a/sim/erc32/interf.c +++ b/sim/erc32/interf.c @@ -1,6 +1,6 @@ /* This file is part of SIS (SPARC instruction simulator) - Copyright (C) 1995-2016 Free Software Foundation, Inc. + Copyright (C) 1995-2020 Free Software Foundation, Inc. Contributed by Jiri Gaisler, European Space Agency This program is free software; you can redistribute it and/or modify @@ -162,7 +162,7 @@ sim_open (kind, callback, abfd, argv) SIM_OPEN_KIND kind; struct host_callback_struct *callback; struct bfd *abfd; - char **argv; + char * const *argv; { int argc = 0; @@ -288,8 +288,8 @@ SIM_RC sim_create_inferior(sd, abfd, argv, env) SIM_DESC sd; struct bfd *abfd; - char **argv; - char **env; + char * const *argv; + char * const *env; { bfd_vma start_address = 0; if (abfd != NULL)