[Spice-commits] src/channel-usbredir.c

Marc-André Lureau elmarco at kemper.freedesktop.org
Thu Jun 30 08:39:46 UTC 2016


 src/channel-usbredir.c |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit 8c3a78e4bdc51fc2319c2bc8ccda5557786648c5
Author: Marc-André Lureau <marcandre.lureau at redhat.com>
Date:   Wed Jun 29 17:58:57 2016 +0200

    usbredir: mark some functions as internal
    
    For the sake of making clear those are not exported.
    
    Signed-off-by: Marc-André Lureau <marcandre.lureau at redhat.com>

diff --git a/src/channel-usbredir.c b/src/channel-usbredir.c
index 4d669c4..b22cec5 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,
@@ -656,11 +657,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-commits mailing list