From patchwork Fri May 7 21:20:56 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Weil X-Patchwork-Id: 51957 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 942E3B7D85 for ; Sat, 8 May 2010 07:30:34 +1000 (EST) Received: from localhost ([127.0.0.1]:53943 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OAV7u-00023n-M4 for incoming@patchwork.ozlabs.org; Fri, 07 May 2010 17:30:30 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1OAV46-0008EN-LD for qemu-devel@nongnu.org; Fri, 07 May 2010 17:26:34 -0400 Received: from [140.186.70.92] (port=48065 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OAV44-0007uN-Fk for qemu-devel@nongnu.org; Fri, 07 May 2010 17:26:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OAUyq-0000u3-Lr for qemu-devel@nongnu.org; Fri, 07 May 2010 17:21:10 -0400 Received: from moutng.kundenserver.de ([212.227.126.186]:60546) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OAUyq-0000tJ-8k for qemu-devel@nongnu.org; Fri, 07 May 2010 17:21:08 -0400 Received: from flocke.weilnetz.de (p54ADFB04.dip.t-dialin.net [84.173.251.4]) by mrelayeu.kundenserver.de (node=mreu1) with ESMTP (Nemesis) id 0Mefts-1NzatP1m6i-00OzUl; Fri, 07 May 2010 23:20:59 +0200 Received: from stefan by flocke.weilnetz.de with local (Exim 4.71) (envelope-from ) id 1OAUyg-00062n-Dh; Fri, 07 May 2010 23:20:58 +0200 From: Stefan Weil To: QEMU Developers Date: Fri, 7 May 2010 23:20:56 +0200 Message-Id: <1273267256-23205-1-git-send-email-weil@mail.berlios.de> X-Mailer: git-send-email 1.7.0 In-Reply-To: References: X-Provags-ID: V01U2FsdGVkX1/LTFk6KnxKP1YBfk+70YeFCU42ZlmxL1FRqde +EA6SodLFq/ght/UwVBaMBliK9XnO4k45z+n0OJuYQ/yssJzz3 +hTsTGBwtEbSH2nruxFd2gMXSP2xk75j8fxWtdEIAN+8Vr5dI/ Txg== X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. Cc: blauwirbel@gmail.com Subject: [Qemu-devel] [PATCH] mips-dis: Add missing static attributes X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org 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 169169c..ae64543 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 },