summaryrefslogtreecommitdiff
path: root/sim/erc32
diff options
context:
space:
mode:
Diffstat (limited to 'sim/erc32')
-rw-r--r--sim/erc32/ChangeLog5
-rw-r--r--sim/erc32/interf.c6
2 files changed, 8 insertions, 3 deletions
diff --git a/sim/erc32/ChangeLog b/sim/erc32/ChangeLog
index 37620f9475..c9a3522cd0 100644
--- a/sim/erc32/ChangeLog
+++ b/sim/erc32/ChangeLog
@@ -1,3 +1,8 @@
+2016-01-06 Mike Frysinger <vapier@gentoo.org>
+
+ * interf.c (sim_open): Mark argv const.
+ (sim_create_inferior): Mark argv and env const.
+
2016-01-04 Mike Frysinger <vapier@gentoo.org>
* configure: Regenerate.
diff --git a/sim/erc32/interf.c b/sim/erc32/interf.c
index 7f3b8dfee8..826a85a5f6 100644
--- a/sim/erc32/interf.c
+++ b/sim/erc32/interf.c
@@ -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)