target/arm: Make switch_mode() file-local
commitaffdb64d847bfa7c4fafe9d85fd5f3d905314fc4
authorPeter Maydell <peter.maydell@linaro.org>
Wed, 24 Oct 2018 06:50:17 +0000 (24 07:50 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Wed, 24 Oct 2018 06:51:33 +0000 (24 07:51 +0100)
treee58cdc4a90d481f57e30ccd2fe9455eb5e0be4cf
parent81e3728407bf4a12f83e14fd410d5f0a7d29b5b4
target/arm: Make switch_mode() file-local

The switch_mode() function is defined in target/arm/helper.c and used
only in that file and nowhere else, so we can make it file-local
rather than global.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20181012144235.19646-3-peter.maydell@linaro.org
target/arm/helper.c
target/arm/internals.h