[Spice-devel] [spice-server] char-device: Fix el6 compilation
Christophe Fergeau
cfergeau at redhat.com
Mon Apr 11 07:29:59 UTC 2016
One more duplicate typedef, once in reds.c and another time in
reds-private.h
RedsState::agent_dev is defined in reds-private.h but only used in
reds.c, so longer term this could all be moved back to reds.c
---
server/reds.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/server/reds.c b/server/reds.c
index e3f479d..f32f3d2 100644
--- a/server/reds.c
+++ b/server/reds.c
@@ -224,7 +224,6 @@ typedef struct __attribute__ ((__packed__)) VDInternalBuf {
#define RED_IS_CHAR_DEVICE_VDIPORT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), RED_TYPE_CHAR_DEVICE_VDIPORT))
#define RED_CHAR_DEVICE_VDIPORT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), RED_TYPE_CHAR_DEVICE_VDIPORT, RedCharDeviceVDIPortClass))
-typedef struct RedCharDeviceVDIPort RedCharDeviceVDIPort;
typedef struct RedCharDeviceVDIPortClass RedCharDeviceVDIPortClass;
typedef struct RedCharDeviceVDIPortPrivate RedCharDeviceVDIPortPrivate;
--
2.5.5
More information about the Spice-devel
mailing list