]> git.proxmox.com Git - mirror_qemu.git/blobdiff - bsd-user/qemu.h
user: Forward declare TaskState type definition
[mirror_qemu.git] / bsd-user / qemu.h
index 322177de1624b8eeb5dc90de42466c6c7db3de4b..1780f485d67ded64d72b2d193f3bcb7a63823e5b 100644 (file)
@@ -76,7 +76,7 @@ struct emulated_sigtable {
 /*
  * NOTE: we force a big alignment so that the stack stored after is aligned too
  */
-typedef struct TaskState {
+struct TaskState {
     pid_t ts_tid;     /* tid (or pid) of this task */
 
     struct TaskState *next;
@@ -114,7 +114,7 @@ typedef struct TaskState {
 
     /* This thread's sigaltstack, if it has one */
     struct target_sigaltstack sigaltstack_used;
-} __attribute__((aligned(16))) TaskState;
+} __attribute__((aligned(16)));
 
 static inline TaskState *get_task_state(CPUState *cs)
 {