diff options
Diffstat (limited to 'sim')
-rw-r--r-- | sim/common/ChangeLog | 4 | ||||
-rw-r--r-- | sim/common/sim-trace.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog index f360dee..a40dbf8 100644 --- a/sim/common/ChangeLog +++ b/sim/common/ChangeLog @@ -1,5 +1,9 @@ 2010-04-10 Mike Frysinger <vapier@gentoo.org> + * sim-trace.c (save_data): Add const markings to "buf" argument. + +2010-04-10 Mike Frysinger <vapier@gentoo.org> + * sim-options.c (standard_option_handler): Add const markings to local "type" var. diff --git a/sim/common/sim-trace.c b/sim/common/sim-trace.c index 478cbfa..358a01d 100644 --- a/sim/common/sim-trace.c +++ b/sim/common/sim-trace.c @@ -513,7 +513,7 @@ save_data (SIM_DESC sd, TRACE_DATA *data, data_fmt fmt, long size, - void *buf) + const void *buf) { int i = TRACE_INPUT_IDX (data); if (i == sizeof (TRACE_INPUT_FMT (data))) |