summaryrefslogtreecommitdiffstats
path: root/server/red_channel.c
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@redhat.com>2011-04-22 11:48:53 +0200
committerChristophe Fergeau <cfergeau@redhat.com>2011-05-03 14:44:11 +0200
commite17767e8927e724687b1529e9bc8ddbc927dbc8f (patch)
treea3eba67021eb352ca4f7831093708d7e1bb80bd0 /server/red_channel.c
parent12b9654bf41a83427777b0400f95b918ba21ce74 (diff)
downloadspice-e17767e8927e724687b1529e9bc8ddbc927dbc8f.tar.gz
spice-e17767e8927e724687b1529e9bc8ddbc927dbc8f.tar.xz
spice-e17767e8927e724687b1529e9bc8ddbc927dbc8f.zip
add missing static
Diffstat (limited to 'server/red_channel.c')
-rw-r--r--server/red_channel.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/server/red_channel.c b/server/red_channel.c
index 9012b0da..a700d205 100644
--- a/server/red_channel.c
+++ b/server/red_channel.c
@@ -201,7 +201,7 @@ static void red_peer_handle_outgoing(RedsStream *stream, OutgoingHandler *handle
}
}
-void red_channel_on_output(void *opaque, int n)
+static void red_channel_on_output(void *opaque, int n)
{
RedChannel *channel = opaque;
@@ -401,11 +401,11 @@ error:
return NULL;
}
-void do_nothing_disconnect(RedChannel *red_channel)
+static void do_nothing_disconnect(RedChannel *red_channel)
{
}
-int do_nothing_handle_message(RedChannel *red_channel, SpiceDataHeader *header, uint8_t *msg)
+static int do_nothing_handle_message(RedChannel *red_channel, SpiceDataHeader *header, uint8_t *msg)
{
return TRUE;
}
@@ -475,14 +475,14 @@ void red_channel_init_outgoing_messages_window(RedChannel *channel)
red_channel_push(channel);
}
-void red_channel_handle_migrate_flush_mark(RedChannel *channel)
+static void red_channel_handle_migrate_flush_mark(RedChannel *channel)
{
if (channel->handle_migrate_flush_mark) {
channel->handle_migrate_flush_mark(channel);
}
}
-void red_channel_handle_migrate_data(RedChannel *channel, uint32_t size, void *message)
+static void red_channel_handle_migrate_data(RedChannel *channel, uint32_t size, void *message)
{
if (!channel->handle_migrate_data) {
return;