[spice-server] char-device: Fix el6 compilation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]