diff options
author | Christophe Fergeau <cfergeau@redhat.com> | 2011-04-22 11:48:53 +0200 |
---|---|---|
committer | Christophe Fergeau <cfergeau@redhat.com> | 2011-05-03 14:44:11 +0200 |
commit | e17767e8927e724687b1529e9bc8ddbc927dbc8f (patch) | |
tree | a3eba67021eb352ca4f7831093708d7e1bb80bd0 /client | |
parent | 12b9654bf41a83427777b0400f95b918ba21ce74 (diff) | |
download | spice-e17767e8927e724687b1529e9bc8ddbc927dbc8f.tar.gz spice-e17767e8927e724687b1529e9bc8ddbc927dbc8f.tar.xz spice-e17767e8927e724687b1529e9bc8ddbc927dbc8f.zip |
add missing static
Diffstat (limited to 'client')
-rw-r--r-- | client/jpeg_decoder.cpp | 2 | ||||
-rw-r--r-- | client/red_channel.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/client/jpeg_decoder.cpp b/client/jpeg_decoder.cpp index 74cb758b..4bc4f188 100644 --- a/client/jpeg_decoder.cpp +++ b/client/jpeg_decoder.cpp @@ -48,7 +48,7 @@ static void op_decode(SpiceJpegDecoder *decoder, extern "C" { - void jpeg_decoder_init_source(j_decompress_ptr cinfo) + static void jpeg_decoder_init_source(j_decompress_ptr cinfo) { } diff --git a/client/red_channel.cpp b/client/red_channel.cpp index bcd70514..d8dcc420 100644 --- a/client/red_channel.cpp +++ b/client/red_channel.cpp @@ -45,7 +45,7 @@ RedChannelBase::~RedChannelBase() { } -const char *spice_link_error_string(int err) +static const char *spice_link_error_string(int err) { switch (err) { case SPICE_LINK_ERR_OK: return "no error"; |