aboutsummaryrefslogtreecommitdiff
path: root/sim/igen/lf.c
diff options
context:
space:
mode:
Diffstat (limited to 'sim/igen/lf.c')
-rw-r--r--sim/igen/lf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sim/igen/lf.c b/sim/igen/lf.c
index dbaa14f..ca7a56a 100644
--- a/sim/igen/lf.c
+++ b/sim/igen/lf.c
@@ -45,8 +45,8 @@ struct _lf
lf *
-lf_open (char *name,
- char *real_name,
+lf_open (const char *name,
+ const char *real_name,
lf_file_references references,
lf_file_type type, const char *program)
{
@@ -205,7 +205,7 @@ lf_printf (lf *file, const char *fmt, ...)
int
-lf_print__line_ref (lf *file, line_ref *line)
+lf_print__line_ref (lf *file, const line_ref *line)
{
return lf_print__external_ref (file, line->line_nr, line->file_name);
}