]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
sim: cris: clean up missing func prototype warnings
authorMike Frysinger <vapier@gentoo.org>
Tue, 9 Nov 2021 03:38:07 +0000 (22:38 -0500)
committerMike Frysinger <vapier@gentoo.org>
Tue, 9 Nov 2021 03:48:55 +0000 (22:48 -0500)
commit4e6e8ba7c565df88c41b468fbf4801b7445dea09
treed956b1c4d6dd3a6a36b6a641e3df1995379051a6
parentd98c63919a079429b3f218c81ba03b04fd78df02
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.
sim/cris/Makefile.in
sim/cris/cris-tmpl.c
sim/cris/decodev10.h
sim/cris/decodev32.h