diff options
author | Anthony Liguori <aliguori@us.ibm.com> | 2009-10-01 16:12:16 -0500 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-10-01 16:12:16 -0500 |
commit | c227f0995e1722a1abccc28cadf0664266bd8043 (patch) | |
tree | 39e92c2f818e3e8144978740b914731613af0e40 /target-m68k | |
parent | 99a0949b720a0936da2052cb9a46db04ffc6db29 (diff) | |
download | qemu-c227f0995e1722a1abccc28cadf0664266bd8043.zip qemu-c227f0995e1722a1abccc28cadf0664266bd8043.tar.gz qemu-c227f0995e1722a1abccc28cadf0664266bd8043.tar.bz2 |
Revert "Get rid of _t suffix"
In the very least, a change like this requires discussion on the list.
The naming convention is goofy and it causes a massive merge problem. Something
like this _must_ be presented on the list first so people can provide input
and cope with it.
This reverts commit 99a0949b720a0936da2052cb9a46db04ffc6db29.
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'target-m68k')
-rw-r--r-- | target-m68k/helper.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/target-m68k/helper.c b/target-m68k/helper.c index 2a9f7e6..9f30a74 100644 --- a/target-m68k/helper.c +++ b/target-m68k/helper.c @@ -38,14 +38,14 @@ enum m68k_cpuid { M68K_CPUID_ANY, }; -typedef struct m68k_def a_m68k_def; +typedef struct m68k_def_t m68k_def_t; -struct m68k_def { +struct m68k_def_t { const char * name; enum m68k_cpuid id; }; -static a_m68k_def m68k_cpu_defs[] = { +static m68k_def_t m68k_cpu_defs[] = { {"m5206", M68K_CPUID_M5206}, {"m5208", M68K_CPUID_M5208}, {"cfv4e", M68K_CPUID_CFV4E}, @@ -96,7 +96,7 @@ static void m68k_set_feature(CPUM68KState *env, int feature) static int cpu_m68k_set_model(CPUM68KState *env, const char *name) { - a_m68k_def *def; + m68k_def_t *def; for (def = m68k_cpu_defs; def->name; def++) { if (strcmp(def->name, name) == 0) @@ -345,7 +345,7 @@ void m68k_switch_sp(CPUM68KState *env) /* MMU */ /* TODO: This will need fixing once the MMU is implemented. */ -a_target_phys_addr cpu_get_phys_page_debug(CPUState *env, target_ulong addr) +target_phys_addr_t cpu_get_phys_page_debug(CPUState *env, target_ulong addr) { return addr; } |