[PATCH 2/4] make cursor_channel_client_new static

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

 



Signed-off-by: Frediano Ziglio <fziglio@xxxxxxxxxx>
---
 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_ */
-- 
2.7.4

_______________________________________________
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]