summary refs log tree commit diff stats
path: root/linux-user/cpu_loop-common.h
diff options
context:
space:
mode:
Diffstat (limited to 'linux-user/cpu_loop-common.h')
-rw-r--r--linux-user/cpu_loop-common.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/linux-user/cpu_loop-common.h b/linux-user/cpu_loop-common.h
index e644d2ef90..aca51f5323 100644
--- a/linux-user/cpu_loop-common.h
+++ b/linux-user/cpu_loop-common.h
@@ -27,5 +27,8 @@ void target_exception_dump(CPUArchState *env, const char *fmt, int code);
 #define EXCP_DUMP(env, fmt, code) \
     target_exception_dump(env, fmt, code)
 
-void target_cpu_copy_regs(CPUArchState *env, struct target_pt_regs *regs);
+typedef struct target_pt_regs target_pt_regs;
+
+void target_cpu_copy_regs(CPUArchState *env, target_pt_regs *regs);
+
 #endif