]> git.proxmox.com Git - mirror_qemu.git/commitdiff
mips-dis: Add missing static attributes
authorStefan Weil <weil@mail.berlios.de>
Fri, 7 May 2010 21:20:56 +0000 (23:20 +0200)
committerBlue Swirl <blauwirbel@gmail.com>
Sun, 9 May 2010 06:47:20 +0000 (06:47 +0000)
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>
mips-dis.c

index 169169ca32909284df67c0e3a562236f6c0401f5..ae645439c92f424451645fd6edb3935ca57cfcbd 100644 (file)
@@ -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 },