sim: also constify sim_fpu_print_func
This commit is contained in:
parent
adaaf009b5
commit
092d84761e
2 changed files with 2 additions and 1 deletions
|
@ -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>
|
||||
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue