mirror of
https://github.com/qemu/qemu.git
synced 2024-11-24 19:33:39 +08:00
Add missing static qualifiers.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4801 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
dd5d6fe913
commit
b2437bf267
@ -43,11 +43,11 @@ struct DisasContext {
|
||||
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)
|
||||
|
@ -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");
|
||||
|
@ -60,7 +60,7 @@ static TCGv cpu_env;
|
||||
|
||||
#include "gen-icount.h"
|
||||
|
||||
void sh4_translate_init()
|
||||
static void sh4_translate_init()
|
||||
{
|
||||
static int done_init = 0;
|
||||
if (done_init)
|
||||
|
Loading…
Reference in New Issue
Block a user