From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KCw2a-0001Zi-3t for qemu-devel@nongnu.org; Sun, 29 Jun 2008 08:30:00 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KCw2Y-0001Yr-Ik for qemu-devel@nongnu.org; Sun, 29 Jun 2008 08:29:59 -0400 Received: from [199.232.76.173] (port=58200 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KCw2Y-0001Yh-D5 for qemu-devel@nongnu.org; Sun, 29 Jun 2008 08:29:58 -0400 Received: from savannah.gnu.org ([199.232.41.3]:59786 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 1KCw2Y-0004uC-Ac for qemu-devel@nongnu.org; Sun, 29 Jun 2008 08:29:58 -0400 Received: from cvs.savannah.gnu.org ([199.232.41.69]) by sv.gnu.org with esmtp (Exim 4.63) (envelope-from ) id 1KCw2X-0003gp-Jm for qemu-devel@nongnu.org; Sun, 29 Jun 2008 12:29:57 +0000 Received: from pbrook by cvs.savannah.gnu.org with local (Exim 4.63) (envelope-from ) id 1KCw2W-0003gj-VQ for qemu-devel@nongnu.org; Sun, 29 Jun 2008 12:29:57 +0000 MIME-Version: 1.0 Errors-To: pbrook Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: Paul Brook Message-Id: Date: Sun, 29 Jun 2008 12:29:57 +0000 Subject: [Qemu-devel] [4801] Add missing static qualifiers. 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: 4801 http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=4801 Author: pbrook Date: 2008-06-29 12:29:56 +0000 (Sun, 29 Jun 2008) Log Message: ----------- Add missing static qualifiers. Modified Paths: -------------- trunk/target-alpha/translate.c trunk/target-ppc/translate.c trunk/target-sh4/translate.c Modified: trunk/target-alpha/translate.c =================================================================== --- trunk/target-alpha/translate.c 2008-06-29 10:43:16 UTC (rev 4800) +++ trunk/target-alpha/translate.c 2008-06-29 12:29:56 UTC (rev 4801) @@ -43,11 +43,11 @@ uint32_t amask; }; -TCGv cpu_env; +static TCGv cpu_env; #include "gen-icount.h" -void alpha_translate_init() +static void alpha_translate_init() { static int done_init = 0; if (done_init) Modified: trunk/target-ppc/translate.c =================================================================== --- trunk/target-ppc/translate.c 2008-06-29 10:43:16 UTC (rev 4800) +++ trunk/target-ppc/translate.c 2008-06-29 12:29:56 UTC (rev 4801) @@ -49,7 +49,7 @@ void ppc_translate_init(void) { - int done_init = 0; + static int done_init = 0; if (done_init) return; cpu_env = tcg_global_reg_new(TCG_TYPE_PTR, TCG_AREG0, "env"); Modified: trunk/target-sh4/translate.c =================================================================== --- trunk/target-sh4/translate.c 2008-06-29 10:43:16 UTC (rev 4800) +++ trunk/target-sh4/translate.c 2008-06-29 12:29:56 UTC (rev 4801) @@ -60,7 +60,7 @@ #include "gen-icount.h" -void sh4_translate_init() +static void sh4_translate_init() { static int done_init = 0; if (done_init)