Re: [Qemu-devel] [PATCH 02/10] target/arm: Make switch_mode() file-local

2018-10-14 Thread Richard Henderson
On 10/12/18 7:42 AM, Peter Maydell wrote: > 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 > --- > target/arm/internals.h | 1 - > target/arm/helper.c

[Qemu-devel] [PATCH 02/10] target/arm: Make switch_mode() file-local

2018-10-12 Thread Peter Maydell
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 --- target/arm/internals.h | 1 - target/arm/helper.c| 6 -- 2 files changed, 4 insertions(+), 3 deletio