remove duplicate typedef
PATCH 1/1 remove duplicate typedef
---
This is failing with some versions of GCC but not others, apparently.
qemu-common.h | 1 - 1 files changed, 0 insertions(+), 1 deletions(-)
qemu-common.h +0 -1
@@ -18,7 +18,6 @@ typedef struct DeviceState DeviceState;struct Monitor ;typedef struct Monitor Monitor ; -typedef struct QEMUSGList QEMUSGList ;/* we put basic includes here to avoid repeating them in device drivers */ #include <stdlib.h>
Signature · 1 line
1.7.6
qemu-common.h typedef struct DeviceState DeviceState; · line 21
Quoted 9 lines · Paolo Bonzini
qemu-common.h +0
-1@@ -18,7 +18,6 @@ typedef struct DeviceState DeviceState; struct Monitor; typedef struct Monitor Monitor; -typedef struct QEMUSGList QEMUSGList ;
Weird I don't have this in my tree. There's nothing to remove but a quick probe of history also doesn't show it ever being there.
Stefan
Am 21.09.2011 12:07, schrieb Stefan Hajnoczi:
Quoted 7 lines · Paolo Bonzini
Quoted 6 lines
qemu-common.h +0
-0@@ -18,7 +18,6 @@ typedef struct DeviceState DeviceState;
Quoted 6 lines
qemu-common.h typedef struct DeviceState DeviceState; · line 21
Quoted 3 lines
qemu-common.h +0
-1struct Monitor ;typedef struct Monitor Monitor ; -typedef struct QEMUSGList QEMUSGList ;Weird I don't have this in my tree. There's nothing to remove but a quick probe of history also doesn't show it ever being there.
One of Paolo's block patches added it, I dropped it before sending the pull request (and looks like I forgot to send a mail about it). So I guess he's on his development branch and the rebase left a patch with this hunk in place.
Kevin
Quoted 7 lines · Stefan Hajnoczi
Quoted 6 lines · Paolo Bonzini
qemu-common.h +0
-0@@ -18,7 +18,6 @@ typedef struct DeviceState DeviceState;
Quoted 6 lines
qemu-common.h typedef struct DeviceState DeviceState; · line 21
Quoted 3 lines
qemu-common.h +0
-1struct Monitor ;typedef struct Monitor Monitor ; -typedef struct QEMUSGList QEMUSGList ;Weird I don't have this in my tree. There's nothing to remove but a quick probe of history also doesn't show it ever being there.
Doubly weird. I have it in my development branch, but not in the integration branch from which I sent patches to Kevin. So it didn't reach upstream indeed.
Paolo