aboutsummaryrefslogtreecommitdiff
path: root/target-ppc
diff options
context:
space:
mode:
authorpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2008-06-29 12:29:56 +0000
committerpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2008-06-29 12:29:56 +0000
commitb2437bf267670890c2919b03bde0fb22eb0eca5f (patch)
treeb8bdae18f2aa5647cf0c4b26750056348a7e66f2 /target-ppc
parentdd5d6fe913b458463aecb3abd6dca049e5d5b0c6 (diff)
downloadqemu-b2437bf267670890c2919b03bde0fb22eb0eca5f.zip
qemu-b2437bf267670890c2919b03bde0fb22eb0eca5f.tar.gz
qemu-b2437bf267670890c2919b03bde0fb22eb0eca5f.tar.bz2
Add missing static qualifiers.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4801 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-ppc')
-rw-r--r--target-ppc/translate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target-ppc/translate.c b/target-ppc/translate.c
index b98ba35..e0c3185 100644
--- a/target-ppc/translate.c
+++ b/target-ppc/translate.c
@@ -49,7 +49,7 @@ static TCGv cpu_env;
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");