[Spice-devel] [PATCH] char_device.h: Remove redefinition of typedef 'SpiceCharDeviceState'

Hans de Goede hdegoede at redhat.com
Tue Jul 3 23:24:07 PDT 2012


ACK>

On 07/03/2012 09:32 PM, Yonit Halperin wrote:
> The original definition is in spice.h
> ---
>   server/char_device.h |    2 --
>   1 files changed, 0 insertions(+), 2 deletions(-)
>
> diff --git a/server/char_device.h b/server/char_device.h
> index 4a70075..ef8ce3a 100644
> --- a/server/char_device.h
> +++ b/server/char_device.h
> @@ -107,8 +107,6 @@ typedef struct SpiceCharDeviceCallbacks {
>       void (*remove_client)(RedClient *client, void *opaque);
>   } SpiceCharDeviceCallbacks;
>
> -typedef struct SpiceCharDeviceState SpiceCharDeviceState;
> -
>   SpiceCharDeviceState *spice_char_device_state_create(SpiceCharDeviceInstance *sin,
>                                                        uint32_t client_tokens_interval,
>                                                        uint32_t self_tokens,
>



More information about the Spice-devel mailing list