aboutsummaryrefslogtreecommitdiff
path: root/sim/igen/misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'sim/igen/misc.c')
-rw-r--r--sim/igen/misc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sim/igen/misc.c b/sim/igen/misc.c
index c5c494b..2b61c7e 100644
--- a/sim/igen/misc.c
+++ b/sim/igen/misc.c
@@ -34,7 +34,7 @@
trailing '\n' */
void
-error (const line_ref *line, char *msg, ...)
+error (const line_ref *line, const char *msg, ...)
{
va_list ap;
if (line != NULL)
@@ -46,7 +46,7 @@ error (const line_ref *line, char *msg, ...)
}
void
-warning (const line_ref *line, char *msg, ...)
+warning (const line_ref *line, const char *msg, ...)
{
va_list ap;
if (line != NULL)
@@ -57,7 +57,7 @@ warning (const line_ref *line, char *msg, ...)
}
void
-notify (const line_ref *line, char *msg, ...)
+notify (const line_ref *line, const char *msg, ...)
{
va_list ap;
if (line != NULL)