aboutsummaryrefslogtreecommitdiff
path: root/sim/cris/decodev10.h
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-11-08 22:38:07 -0500
committerMike Frysinger <vapier@gentoo.org>2021-11-08 22:48:55 -0500
commit4e6e8ba7c565df88c41b468fbf4801b7445dea09 (patch)
treed956b1c4d6dd3a6a36b6a641e3df1995379051a6 /sim/cris/decodev10.h
parentd98c63919a079429b3f218c81ba03b04fd78df02 (diff)
downloadbinutils-4e6e8ba7c565df88c41b468fbf4801b7445dea09.zip
binutils-4e6e8ba7c565df88c41b468fbf4801b7445dea09.tar.gz
binutils-4e6e8ba7c565df88c41b468fbf4801b7445dea09.tar.bz2
sim: cris: clean up missing func prototype warnings
Move some unused funcs under existing #if 0 protection, mark a few local funcs as static, and add missing prototypes for the rest which are used from other files. This fixes all the fatal warnings in the mloop files so we can turn -Werror on here fully.
Diffstat (limited to 'sim/cris/decodev10.h')
-rw-r--r--sim/cris/decodev10.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sim/cris/decodev10.h b/sim/cris/decodev10.h
index 7baa971..6780592 100644
--- a/sim/cris/decodev10.h
+++ b/sim/cris/decodev10.h
@@ -30,6 +30,7 @@ extern const IDESC *crisv10f_decode (SIM_CPU *, IADDR,
extern void crisv10f_init_idesc_table (SIM_CPU *);
extern void crisv10f_sem_init_idesc_table (SIM_CPU *);
extern void crisv10f_semf_init_idesc_table (SIM_CPU *);
+extern void crisv10f_specific_init (SIM_CPU *);
/* Enum declaration for instructions in cpu family crisv10f. */
typedef enum crisv10f_insn_type {