aboutsummaryrefslogtreecommitdiff
path: root/sim/igen/lf.h
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2022-11-10 23:09:00 +0700
committerMike Frysinger <vapier@gentoo.org>2022-11-11 01:39:49 +0700
commitfa654e74f23fa6e18222a47b05dddb87abd5d5ad (patch)
treecb956f4ee7b00e9bb7be9935efff10971b618205 /sim/igen/lf.h
parent689c2b4b65fb5d0ce6b6414685e1f5c6f97d7c25 (diff)
downloadgdb-fa654e74f23fa6e18222a47b05dddb87abd5d5ad.zip
gdb-fa654e74f23fa6e18222a47b05dddb87abd5d5ad.tar.gz
gdb-fa654e74f23fa6e18222a47b05dddb87abd5d5ad.tar.bz2
sim: igen: constify various func arguments
Diffstat (limited to 'sim/igen/lf.h')
-rw-r--r--sim/igen/lf.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sim/igen/lf.h b/sim/igen/lf.h
index 84d82fe..93b461e 100644
--- a/sim/igen/lf.h
+++ b/sim/igen/lf.h
@@ -49,8 +49,8 @@ lf_file_references;
the print messages below. */
extern lf *lf_open
- (char *name,
- char *real_name,
+ (const char *name,
+ const char *real_name,
lf_file_references file_references,
lf_file_type type, const char *program);
@@ -101,7 +101,7 @@ extern int lf_print__internal_ref (lf *file);
extern int lf_print__external_ref
(lf *file, int line_nr, const char *file_name);
-extern int lf_print__line_ref (lf *file, line_ref *line);
+extern int lf_print__line_ref (lf *file, const line_ref *line);
extern int lf_print__ucase_filename (lf *file);