[Spice-devel] [spice-server 6/9] syntax-check: Remove trailing whitespace from EOL and EOF
Frediano Ziglio
fziglio at redhat.com
Thu Oct 27 14:56:26 UTC 2016
>
> ---
> server/common-graphics-channel.c | 1 -
> server/cursor-channel.h | 2 +-
> server/inputs-channel.c | 2 +-
> server/red-channel.c | 2 +-
> server/smartcard-channel-client.c | 1 -
> 5 files changed, 3 insertions(+), 5 deletions(-)
>
> diff --git a/server/common-graphics-channel.c
> b/server/common-graphics-channel.c
> index e3a3ded..0311cae 100644
> --- a/server/common-graphics-channel.c
> +++ b/server/common-graphics-channel.c
> @@ -199,4 +199,3 @@ QXLInstance*
> common_graphics_channel_get_qxl(CommonGraphicsChannel *self)
> {
> return self->priv->qxl;
> }
> -
> diff --git a/server/cursor-channel.h b/server/cursor-channel.h
> index 26b2cbb..ec9d44f 100644
> --- a/server/cursor-channel.h
> +++ b/server/cursor-channel.h
> @@ -72,7 +72,7 @@ void
> cursor_channel_set_mouse_mode(CursorChannel *cursor, uint32
> * This is the equivalent of RedChannel client connect callback.
> * See comment on cursor_channel_new.
> */
> -void cursor_channel_connect (CursorChannel *cursor,
> RedClient *client,
> +void cursor_channel_connect (CursorChannel *cursor,
> RedClient *client,
> RedsStream *stream,
> int migrate,
> uint32_t *common_caps, int
> num_common_caps,
> diff --git a/server/inputs-channel.c b/server/inputs-channel.c
> index aadcf4b..f96a64c 100644
> --- a/server/inputs-channel.c
> +++ b/server/inputs-channel.c
> @@ -590,7 +590,7 @@ InputsChannel* inputs_channel_new(RedsState *reds)
> "channel-type", (int)SPICE_CHANNEL_INPUTS,
> "id", 0,
> "handle-acks", FALSE,
> - "migration-flags",
> + "migration-flags",
> (guint)(SPICE_MIGRATE_NEED_FLUSH |
> SPICE_MIGRATE_NEED_DATA_TRANSFER),
> NULL);
>
> diff --git a/server/red-channel.c b/server/red-channel.c
> index 3b14fbf..683f15a 100644
> --- a/server/red-channel.c
> +++ b/server/red-channel.c
> @@ -81,7 +81,7 @@ struct RedChannelPrivate
> SpiceCoreInterfaceInternal *core;
> gboolean handle_acks;
>
> - // RedChannel will hold only connected channel clients
> + // RedChannel will hold only connected channel clients
> // (logic - when pushing pipe item to all channel clients, there
> // is no need to go over disconnect clients)
> // . While client will hold the channel clients till it is destroyed
> diff --git a/server/smartcard-channel-client.c
> b/server/smartcard-channel-client.c
> index ec99e07..30b2249 100644
> --- a/server/smartcard-channel-client.c
> +++ b/server/smartcard-channel-client.c
> @@ -415,4 +415,3 @@ RedCharDeviceSmartcard*
> smartcard_channel_client_get_char_device(SmartCardChanne
> {
> return scc->priv->smartcard;
> }
> -
Acked-by: Frediano Ziglio <fziglio at redhat.com>
Frediano
PS: looks like this tool is more pedantic than me ;)
More information about the Spice-devel
mailing list