aboutsummaryrefslogtreecommitdiff
path: root/sim/igen/gen-engine.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/gen-engine.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/gen-engine.h')
-rw-r--r--sim/igen/gen-engine.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/sim/igen/gen-engine.h b/sim/igen/gen-engine.h
index e1a0fdf..6b1b380 100644
--- a/sim/igen/gen-engine.h
+++ b/sim/igen/gen-engine.h
@@ -20,10 +20,12 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. */
extern void gen_engine_h
- (lf *file, gen_table *gen, insn_table *isa, cache_entry *cache_rules);
+ (lf *file, const gen_table *gen, const insn_table *isa,
+ cache_entry *cache_rules);
extern void gen_engine_c
- (lf *file, gen_table *gen, insn_table *isa, cache_entry *cache_rules);
+ (lf *file, const gen_table *gen, const insn_table *isa,
+ cache_entry *cache_rules);
extern void print_engine_run_function_header
- (lf *file, char *processor, function_decl_type decl_type);
+ (lf *file, const char *processor, function_decl_type decl_type);