aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sim/common/ChangeLog5
-rw-r--r--sim/common/sim-fpu.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog
index 89d238e..43c6251 100644
--- a/sim/common/ChangeLog
+++ b/sim/common/ChangeLog
@@ -1,5 +1,10 @@
2010-04-10 Mike Frysinger <vapier@gentoo.org>
+ * sim-fpu.c (sim_fpu_print_status): Add const markings to local
+ "prefix" var.
+
+2010-04-10 Mike Frysinger <vapier@gentoo.org>
+
* sim-fpu.c (sim_fpu_print_status): Remove duplicate break statements.
2010-04-10 Mike Frysinger <vapier@gentoo.org>
diff --git a/sim/common/sim-fpu.c b/sim/common/sim-fpu.c
index ad25f323e..7af6170 100644
--- a/sim/common/sim-fpu.c
+++ b/sim/common/sim-fpu.c
@@ -2497,7 +2497,7 @@ sim_fpu_print_status (int status,
void *arg)
{
int i = 1;
- char *prefix = "";
+ const char *prefix = "";
while (status >= i)
{
switch ((sim_fpu_status) (status & i))