mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-02-11 13:02:10 +08:00
I get a couple of -Wmissing-declarations errors when building the sim. This happens because an earlier patch added the declarations to a cgen-generated header, but the recent re-generation then removed them. This patch fixes the build by adding declarations just before the definition. This is normally not best practice, but in this particular situation it at leat un-breaks the build. |
||
---|---|---|
.. | ||
arch.c | ||
arch.h | ||
ChangeLog-2021 | ||
cpuall.h | ||
cpuv10.c | ||
cpuv10.h | ||
cpuv32.c | ||
cpuv32.h | ||
cris-sim.h | ||
cris-tmpl.c | ||
crisv10f.c | ||
crisv32f.c | ||
decodev10.c | ||
decodev10.h | ||
decodev32.c | ||
decodev32.h | ||
dv-cris_900000xx.c | ||
dv-cris.c | ||
dv-rv.c | ||
local.mk | ||
mloop.in | ||
modelv10.c | ||
modelv32.c | ||
rvdummy.c | ||
semcrisv10f-switch.c | ||
semcrisv32f-switch.c | ||
sim-if.c | ||
sim-main.h | ||
traps.c |