[Spice-devel] [spice-server 2/3] char-device: Remove duplicate typedef
Pavel Grunt
pgrunt at redhat.com
Tue Apr 5 14:24:55 UTC 2016
On Tue, 2016-04-05 at 15:09 +0200, Christophe Fergeau wrote:
Acked-by: Pavel Grunt <pgrunt at redhat.com>
> ---
> server/char-device.h | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/server/char-device.h b/server/char-device.h
> index d92cbab..0a4ae5d 100644
> --- a/server/char-device.h
> +++ b/server/char-device.h
> @@ -32,6 +32,7 @@
> #define RED_IS_CHAR_DEVICE_CLASS(klass)
> (G_TYPE_CHECK_CLASS_TYPE((klass), RED_TYPE_CHAR_DEVICE))
> #define RED_CHAR_DEVICE_GET_CLASS(obj)
> (G_TYPE_INSTANCE_GET_CLASS((obj), RED_TYPE_CHAR_DEVICE,
> RedCharDeviceClass))
>
> +/* SpiceCharDeviceState is public API, but internally we use
> RedCharDevice */
> typedef struct SpiceCharDeviceState RedCharDevice;
> typedef struct RedCharDeviceClass RedCharDeviceClass;
> typedef struct RedCharDevicePrivate RedCharDevicePrivate;
> @@ -119,8 +120,6 @@ void red_char_device_set_callbacks(RedCharDevice
> *dev,
> * */
>
> struct RedsState;
> -/* SpiceCharDeviceState is public API, but internally we use
> RedCharDevice */
> -typedef struct SpiceCharDeviceState RedCharDevice;
>
> /* buffer that is used for writing to the device */
> typedef struct RedCharDeviceWriteBuffer {
More information about the Spice-devel
mailing list