From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1OA7Wy-0002wQ-UN for qemu-devel@nongnu.org; Thu, 06 May 2010 16:18:49 -0400 Received: from [140.186.70.92] (port=50756 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OA7Ww-0002v9-SO for qemu-devel@nongnu.org; Thu, 06 May 2010 16:18:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OA7Wv-0001nz-I4 for qemu-devel@nongnu.org; Thu, 06 May 2010 16:18:46 -0400 Received: from moutng.kundenserver.de ([212.227.17.8]:51992) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OA7Wv-0001nr-66 for qemu-devel@nongnu.org; Thu, 06 May 2010 16:18:45 -0400 From: Stefan Weil Date: Thu, 6 May 2010 22:18:42 +0200 Message-Id: <1273177122-22441-1-git-send-email-weil@mail.berlios.de> Subject: [Qemu-devel] [PATCH] mips-dis: Add missing static attributes List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: QEMU Developers mips_abi_choices and mips_arch_choices are only used locally. Signed-off-by: Stefan Weil --- mips-dis.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mips-dis.c b/mips-dis.c index 56bffe5..4623a1c 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 }, -- 1.7.0