sim: mloop: mark a few conditionally used funcs as unused
authorMike Frysinger <vapier@gentoo.org>
Wed, 3 Nov 2021 05:17:17 +0000 (01:17 -0400)
committerMike Frysinger <vapier@gentoo.org>
Wed, 3 Nov 2021 05:19:43 +0000 (01:19 -0400)
commit3a275541049f295719782642fb8aa912b0a4a0d3
treebf11791f181a0fc9f7ac1bd740b3148c2385abbc
parent359c74415c2b78bf2b2be3bd3e013d78f298350d
sim: mloop: mark a few conditionally used funcs as unused

These are marked inline, so building w/gcc at higher optimization
levels will automatically discard them.  But building with -O0 will
trigger unused function warnings, so fix that.

The common before/after cover functions in the common mloop generator
are not used by all architecture ports.  Doesn't seem to be a hard
requirement, so marking them optional (i.e. unused) is fine.

The cris execute function is conditionally used depending on the
fast-build mode settings, so mark it unused too.
sim/common/genmloop.sh
sim/cris/mloop.in