summaryrefslogtreecommitdiff
path: root/target-lm32
diff options
context:
space:
mode:
Diffstat (limited to 'target-lm32')
-rw-r--r--target-lm32/cpu.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/target-lm32/cpu.h b/target-lm32/cpu.h
index 0902a2468d..a7d95464b8 100644
--- a/target-lm32/cpu.h
+++ b/target-lm32/cpu.h
@@ -149,7 +149,7 @@ enum {
LM32_FLAG_IGNORE_MSB = 1,
};
-typedef struct CPULM32State {
+struct CPULM32State {
/* general registers */
uint32_t regs[32];
@@ -182,7 +182,7 @@ typedef struct CPULM32State {
uint8_t num_bps;
uint8_t num_wps;
-} CPULM32State;
+};
CPULM32State *cpu_lm32_init(const char *cpu_model);