qemu-e2k/disas
Stefan Weil 52b831de00 disas/microblaze: Fix warnings caused by missing 'static' attribute
Warnings from the Sparse static analysis tool:

disas/microblaze.c:289:3: warning:
 symbol 'opcodes' was not declared. Should it be static?
disas/microblaze.c:570:6: warning:
 symbol 'register_prefix' was not declared. Should it be static?
disas/microblaze.c:571:6: warning:
 symbol 'special_register_prefix' was not declared. Should it be static?
disas/microblaze.c:572:6: warning:
 symbol 'fsl_register_prefix' was not declared. Should it be static?
disas/microblaze.c:573:6: warning:
 symbol 'pvr_register_prefix' was not declared. Should it be static?

Remove the unused variable special_register_prefix.
The variable pvr_register_prefix was unused, too, but can be used.
Add also 'const' where possible.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
2015-03-10 08:15:34 +03:00
..
libvixl
alpha.c
arm-a64.cc disas/arm-a64.cc: Tell libvixl correct code addresses 2015-02-05 13:37:25 +00:00
arm.c disas/arm: Fix warnings caused by missing 'static' attribute 2015-03-10 08:15:34 +03:00
cris.c
hppa.c
i386.c
ia64.c
lm32.c
m68k.c
Makefile.objs
microblaze.c disas/microblaze: Fix warnings caused by missing 'static' attribute 2015-03-10 08:15:34 +03:00
mips.c
moxie.c
ppc.c
s390.c
sh4.c disas/sh4: Fix warning caused by missing 'static' attribute 2015-02-10 10:26:05 +03:00
sparc.c
tci.c