Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LWxqU-0001GP-Fr for qemu-devel@nongnu.org; Tue, 10 Feb 2009 14:00:34 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LWxqT-0001G2-Ol for qemu-devel@nongnu.org; Tue, 10 Feb 2009 14:00:34 -0500 Received: from [199.232.76.173] (port=40326 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LWxqT-0001Fx-HO for qemu-devel@nongnu.org; Tue, 10 Feb 2009 14:00:33 -0500 Received: from savannah.gnu.org ([199.232.41.3]:60238 helo=sv.gnu.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LWxqT-0000xd-4e for qemu-devel@nongnu.org; Tue, 10 Feb 2009 14:00:33 -0500 Received: from cvs.savannah.gnu.org ([199.232.41.69]) by sv.gnu.org with esmtp (Exim 4.63) (envelope-from ) id 1LWxqS-0008Bp-FL for qemu-devel@nongnu.org; Tue, 10 Feb 2009 19:00:32 +0000 Received: from blueswir1 by cvs.savannah.gnu.org with local (Exim 4.63) (envelope-from ) id 1LWxqS-0008Bk-51 for qemu-devel@nongnu.org; Tue, 10 Feb 2009 19:00:32 +0000 MIME-Version: 1.0 Errors-To: blueswir1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: Blue Swirl Message-Id: Date: Tue, 10 Feb 2009 19:00:32 +0000 Subject: [Qemu-devel] [6588] Add "static" Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Revision: 6588 http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=6588 Author: blueswir1 Date: 2009-02-10 19:00:31 +0000 (Tue, 10 Feb 2009) Log Message: ----------- Add "static" Modified Paths: -------------- trunk/tcg/tcg.c trunk/tcg/tcg.h Modified: trunk/tcg/tcg.c =================================================================== --- trunk/tcg/tcg.c 2009-02-09 23:19:44 UTC (rev 6587) +++ trunk/tcg/tcg.c 2009-02-10 19:00:31 UTC (rev 6588) @@ -59,7 +59,7 @@ static void patch_reloc(uint8_t *code_ptr, int type, tcg_target_long value, tcg_target_long addend); -TCGOpDef tcg_op_defs[] = { +static TCGOpDef tcg_op_defs[] = { #define DEF(s, n, copy_size) { #s, 0, 0, n, n, 0, copy_size }, #define DEF2(s, iargs, oargs, cargs, flags) { #s, iargs, oargs, cargs, iargs + oargs + cargs, flags, 0 }, #include "tcg-opc.h" Modified: trunk/tcg/tcg.h =================================================================== --- trunk/tcg/tcg.h 2009-02-09 23:19:44 UTC (rev 6587) +++ trunk/tcg/tcg.h 2009-02-10 19:00:31 UTC (rev 6588) @@ -390,8 +390,6 @@ const char *args_ct_str[TCG_MAX_OP_ARGS]; } TCGTargetOpDef; -extern TCGOpDef tcg_op_defs[]; - void tcg_target_init(TCGContext *s); void tcg_target_qemu_prologue(TCGContext *s);