diff options
author | pbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-06-29 12:29:56 +0000 |
---|---|---|
committer | pbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-06-29 12:29:56 +0000 |
commit | b2437bf267670890c2919b03bde0fb22eb0eca5f (patch) | |
tree | b8bdae18f2aa5647cf0c4b26750056348a7e66f2 /target-ppc | |
parent | dd5d6fe913b458463aecb3abd6dca049e5d5b0c6 (diff) |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target-ppc/translate.c b/target-ppc/translate.c index b98ba35bd3..e0c318582c 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"); |