[Spice-commits] server/dcc.c server/dcc.h
Frediano Ziglio
fziglio at kemper.freedesktop.org
Thu Sep 7 11:15:59 UTC 2017
server/dcc.c | 2 +-
server/dcc.h | 1 -
2 files changed, 1 insertion(+), 2 deletions(-)
New commits:
commit 2f6be0b84df02e0cb48544db9951bee42d67e368
Author: Frediano Ziglio <fziglio at redhat.com>
Date: Thu Sep 7 10:17:00 2017 +0100
dcc: Make dcc_stop static
Just used by dcc_on_disconnect.
Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
Acked-by: Uri Lublin <uril at redhat.com>
diff --git a/server/dcc.c b/server/dcc.c
index 3fb598ff..1e0ba790 100644
--- a/server/dcc.c
+++ b/server/dcc.c
@@ -611,7 +611,7 @@ static void dcc_destroy_stream_agents(DisplayChannelClient *dcc)
}
}
-void dcc_stop(DisplayChannelClient *dcc)
+static void dcc_stop(DisplayChannelClient *dcc)
{
DisplayChannel *dc = DCC_TO_DC(dcc);
diff --git a/server/dcc.h b/server/dcc.h
index e34e8363..e0cfaecf 100644
--- a/server/dcc.h
+++ b/server/dcc.h
@@ -138,7 +138,6 @@ DisplayChannelClient* dcc_new (DisplayCha
spice_wan_compression_t jpeg_state,
spice_wan_compression_t zlib_glz_state);
void dcc_start (DisplayChannelClient *dcc);
-void dcc_stop (DisplayChannelClient *dcc);
bool dcc_handle_message (RedChannelClient *rcc,
uint16_t type,
uint32_t size, void *msg);
More information about the Spice-commits
mailing list