aboutsummaryrefslogtreecommitdiff
path: root/sim/common
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2010-04-10 21:25:06 +0000
committerMike Frysinger <vapier@gentoo.org>2010-04-10 21:25:06 +0000
commit092d84761e7d020e4ff3a9eeea83cc5e90c2ff36 (patch)
tree2ab25a14cb65754da053c32d46f702963ce60906 /sim/common
parentadaaf009b5bcef977ac8b3ca025b5357ee93aad6 (diff)
downloadgdb-092d84761e7d020e4ff3a9eeea83cc5e90c2ff36.zip
gdb-092d84761e7d020e4ff3a9eeea83cc5e90c2ff36.tar.gz
gdb-092d84761e7d020e4ff3a9eeea83cc5e90c2ff36.tar.bz2
sim: also constify sim_fpu_print_func
Diffstat (limited to 'sim/common')
-rw-r--r--sim/common/ChangeLog1
-rw-r--r--sim/common/sim-fpu.h2
2 files changed, 2 insertions, 1 deletions
diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog
index 43c6251..1fef069 100644
--- a/sim/common/ChangeLog
+++ b/sim/common/ChangeLog
@@ -2,6 +2,7 @@
* sim-fpu.c (sim_fpu_print_status): Add const markings to local
"prefix" var.
+ (sim_fpu_print_func): Add const markings to format buffer.
2010-04-10 Mike Frysinger <vapier@gentoo.org>
diff --git a/sim/common/sim-fpu.h b/sim/common/sim-fpu.h
index 45c9c6c..37b10b3 100644
--- a/sim/common/sim-fpu.h
+++ b/sim/common/sim-fpu.h
@@ -404,7 +404,7 @@ extern const sim_fpu sim_fpu_max64;
/* For debugging */
-typedef void sim_fpu_print_func (void *, char *, ...);
+typedef void sim_fpu_print_func (void *, const char *, ...);
/* Print a sim_fpu with full precision. */
INLINE_SIM_FPU (void) sim_fpu_print_fpu (const sim_fpu *f,