qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [4801] Add missing static qualifiers.
@ 2008-06-29 12:29 Paul Brook
  0 siblings, 0 replies; only message in thread
From: Paul Brook @ 2008-06-29 12:29 UTC (permalink / raw)
  To: qemu-devel

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)

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-06-29 12:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-29 12:29 [Qemu-devel] [4801] Add missing static qualifiers Paul Brook

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).