[Spice-devel] [spice-server] char-device: Fix el6 compilation
Victor Toso
lists at victortoso.com
Mon Apr 11 07:42:50 UTC 2016
On Mon, Apr 11, 2016 at 09:29:59AM +0200, Christophe Fergeau wrote:
> 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
Acked-by: Victor Toso <victortoso at redhat.com>
> ---
> 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 at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/spice-devel
More information about the Spice-devel
mailing list