[Spice-devel] [PATCH spice-gtk] usbredir: mark some functions as internal
marcandre.lureau at redhat.com
marcandre.lureau at redhat.com
Wed Jun 29 15:59:27 UTC 2016
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);
--
2.9.0
More information about the Spice-devel
mailing list