qemu/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 disas/libvixl: Update to upstream VIXL 1.7 2015-02-05 13:37:25 +00:00
alpha.c build: kill libdis, move disassemblers to disas/ 2012-12-19 08:29:06 +01:00
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 build: kill libdis, move disassemblers to disas/ 2012-12-19 08:29:06 +01:00
hppa.c build: kill libdis, move disassemblers to disas/ 2012-12-19 08:29:06 +01:00
i386.c disas/i386: Disassemble ANDN/SHLX/SHRX/SHAX 2014-02-17 10:12:29 -06:00
ia64.c build: kill libdis, move disassemblers to disas/ 2012-12-19 08:29:06 +01:00
lm32.c lm32-dis: fix NULL pointer dereference 2013-03-18 19:40:34 +01:00
m68k.c Replace all setjmp()/longjmp() with sigsetjmp()/siglongjmp() 2013-02-23 16:11:19 +00:00
Makefile.objs build: convert some obj-specific CFLAGS to use new foo.o-cflags syntax 2014-05-08 15:27:49 +02:00
microblaze.c disas/microblaze: Fix warnings caused by missing 'static' attribute 2015-03-10 08:15:34 +03:00
mips.c disas/mips: disable unused mips16_to_32_reg_map[] 2014-12-16 12:45:20 +00:00
moxie.c Add moxie disassembler 2013-03-23 14:25:41 +00:00
ppc.c disas/ppc.c: Fix little endian disassembly 2013-09-02 10:06:41 +02:00
s390.c disas/s390.c: Remove unused variables 2015-02-03 12:27:05 -08:00
sh4.c disas/sh4: Fix warning caused by missing 'static' attribute 2015-02-10 10:26:05 +03:00
sparc.c disas/sparc: Remove unused data sparc_opcode_archs[] 2015-01-21 16:18:01 +00:00
tci.c build: kill libdis, move disassemblers to disas/ 2012-12-19 08:29:06 +01:00