From c227f0995e1722a1abccc28cadf0664266bd8043 Mon Sep 17 00:00:00 2001 From: Anthony Liguori Date: Thu, 1 Oct 2009 16:12:16 -0500 Subject: 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 --- target-m68k/helper.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'target-m68k') diff --git a/target-m68k/helper.c b/target-m68k/helper.c index 2a9f7e6906..9f30a7479d 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; } -- cgit v1.2.3-55-g7522