summaryrefslogtreecommitdiff
path: root/mips-dis.c
diff options
context:
space:
mode:
authorStefan Weil <weil@mail.berlios.de>2010-05-07 23:20:56 +0200
committerBlue Swirl <blauwirbel@gmail.com>2010-05-09 06:47:20 +0000
commit89b4e421aafa8aa571f0aed3ccd97c4c2750b0a2 (patch)
tree59450e25189df4121a5a6aa079a0921e676f1c22 /mips-dis.c
parent671135895759d063503bda7e9cfbd41a6446c330 (diff)
downloadqemu-89b4e421aafa8aa571f0aed3ccd97c4c2750b0a2.tar.gz
qemu-89b4e421aafa8aa571f0aed3ccd97c4c2750b0a2.tar.bz2
qemu-89b4e421aafa8aa571f0aed3ccd97c4c2750b0a2.zip
mips-dis: Add missing static attributes
mips_abi_choices and mips_arch_choices are only used locally. Signed-off-by: Stefan Weil <weil@mail.berlios.de> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'mips-dis.c')
-rw-r--r--mips-dis.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mips-dis.c b/mips-dis.c
index 169169ca32..ae645439c9 100644
--- a/mips-dis.c
+++ b/mips-dis.c
@@ -3035,7 +3035,7 @@ struct mips_abi_choice
const char * const *fpr_names;
};
-struct mips_abi_choice mips_abi_choices[] =
+static struct mips_abi_choice mips_abi_choices[] =
{
{ "numeric", mips_gpr_names_numeric, mips_fpr_names_numeric },
{ "32", mips_gpr_names_oldabi, mips_fpr_names_32 },
@@ -3086,7 +3086,7 @@ struct mips_arch_choice
#define ARRAY_SIZE(a) (sizeof(a) / sizeof(a[0]))
-const struct mips_arch_choice mips_arch_choices[] =
+static const struct mips_arch_choice mips_arch_choices[] =
{
{ "numeric", 0, 0, 0, 0,
mips_cp0_names_numeric, NULL, 0, mips_hwr_names_numeric },