[Spice-devel] [PATCH 2/4] make cursor_channel_client_new static
Jonathon Jongsma
jjongsma at redhat.com
Wed May 25 20:07:01 UTC 2016
Acked-by: Jonathon Jongsma <jjongsma at redhat.com>
On Fri, 2016-05-13 at 10:16 +0100, Frediano Ziglio wrote:
> Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
> ---
> server/cursor-channel.c | 10 ++++++----
> server/cursor-channel.h | 5 -----
> 2 files changed, 6 insertions(+), 9 deletions(-)
>
> diff --git a/server/cursor-channel.c b/server/cursor-channel.c
> index c67c88f..66f0181 100644
> --- a/server/cursor-channel.c
> +++ b/server/cursor-channel.c
> @@ -450,10 +450,12 @@ void cursor_channel_client_migrate(CursorChannelClient*
> client)
> red_channel_client_default_migrate(rcc);
> }
>
> -CursorChannelClient* cursor_channel_client_new(CursorChannel *cursor,
> RedClient *client, RedsStream *stream,
> - int mig_target,
> - uint32_t *common_caps, int
> num_common_caps,
> - uint32_t *caps, int num_caps)
> +static CursorChannelClient* cursor_channel_client_new(CursorChannel *cursor,
> + RedClient *client,
> + RedsStream *stream,
> + int mig_target,
> + uint32_t *common_caps,
> int num_common_caps,
> + uint32_t *caps, int
> num_caps)
> {
> spice_return_val_if_fail(cursor, NULL);
> spice_return_val_if_fail(client, NULL);
> diff --git a/server/cursor-channel.h b/server/cursor-channel.h
> index ecb20a4..6bba822 100644
> --- a/server/cursor-channel.h
> +++ b/server/cursor-channel.h
> @@ -40,11 +40,6 @@ void cursor_channel_connect
> (CursorChannel *cursor, RedClien
> uint32_t *common_caps, int
> num_common_caps,
> uint32_t *caps, int
> num_caps);
>
> -CursorChannelClient* cursor_channel_client_new(CursorChannel *cursor,
> - RedClient *client, RedsStream
> *stream,
> - int mig_target,
> - uint32_t *common_caps, int
> num_common_caps,
> - uint32_t *caps, int num_caps);
> void cursor_channel_client_migrate(CursorChannelClient*
> client);
>
> #endif /* CURSOR_CHANNEL_H_ */
More information about the Spice-devel
mailing list