From fc3579da2ea6b2db27ac3003f818abd7786b9b30 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sun, 31 Oct 2021 20:40:01 -0400 Subject: sim: ppc: constify strings in igen tooling --- sim/ppc/misc.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sim/ppc/misc.h') diff --git a/sim/ppc/misc.h b/sim/ppc/misc.h index 95b0739..784ccfd 100644 --- a/sim/ppc/misc.h +++ b/sim/ppc/misc.h @@ -31,7 +31,7 @@ #include "filter_filename.h" extern void error -(char *msg, ...); +(const char *msg, ...); #define ASSERT(EXPRESSION) \ do { \ @@ -48,7 +48,7 @@ extern void *zalloc (long size); extern void dumpf -(int indent, char *msg, ...); +(int indent, const char *msg, ...); extern unsigned target_a2i (int ms_bit_nr, -- cgit v1.1