[Spice-devel] [PATCH spice-gtk] usbredir: mark some functions as internal

Pavel Grunt pgrunt at redhat.com
Thu Jun 30 06:26:01 UTC 2016


Ack,
Pavel

On Wed, 2016-06-29 at 17:59 +0200, marcandre.lureau at redhat.com wrote:
> From: Marc-André Lureau <marcandre.lureau at redhat.com>
> 
> For the sake of making clear those are not exported.
> 
> Signed-off-by: Marc-André Lureau <marcandre.lureau at redhat.com>
> ---
>  src/channel-usbredir.c | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/src/channel-usbredir.c b/src/channel-usbredir.c
> index 2c5feae..74e8df0 100644
> --- a/src/channel-usbredir.c
> +++ b/src/channel-usbredir.c
> @@ -518,6 +518,7 @@ gboolean spice_usbredir_channel_disconnect_device_finish(
>      return g_task_propagate_boolean(G_TASK(res), err);
>  }
>  
> +G_GNUC_INTERNAL
>  void spice_usbredir_channel_disconnect_device_async(SpiceUsbredirChannel
> *channel,
>                                                      GCancellable
> *cancellable,
>                                                      GAsyncReadyCallback
> callback,
> @@ -655,11 +656,13 @@ static void *usbredir_alloc_lock(void) {
>      return mutex;
>  }
>  
> +G_GNUC_INTERNAL
>  void spice_usbredir_channel_lock(SpiceUsbredirChannel *channel)
>  {
>      g_mutex_lock(&channel->priv->device_connect_mutex);
>  }
>  
> +G_GNUC_INTERNAL
>  void spice_usbredir_channel_unlock(SpiceUsbredirChannel *channel)
>  {
>      g_mutex_unlock(&channel->priv->device_connect_mutex);


More information about the Spice-devel mailing list