From: Paul Brook <paul@nowt.org>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [4801] Add missing static qualifiers.
Date: Sun, 29 Jun 2008 12:29:57 +0000 [thread overview]
Message-ID: <E1KCw2W-0003gj-VQ@cvs.savannah.gnu.org> (raw)
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)
reply other threads:[~2008-06-29 12:30 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E1KCw2W-0003gj-VQ@cvs.savannah.gnu.org \
--to=paul@nowt.org \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).