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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Marc-André Lureau <marcandre.lureau@xxxxxxxxxx>

For the sake of making clear those are not exported.

Signed-off-by: Marc-André Lureau <marcandre.lureau@xxxxxxxxxx>
---
 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

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]