[Spice-devel] [spice-server v2] Make various functions static

Christophe Fergeau cfergeau at redhat.com
Wed Mar 1 12:59:24 UTC 2017


On Wed, Mar 01, 2017 at 06:06:51AM -0500, Frediano Ziglio wrote:
> > 
> > - glz_enc_dictionary_reset
> > - monitors_config_new
> > - red_channel_any_blocked
> > - red_channel_no_item_being_sent
> > - red_client_get_channel
> > - reds_stream_write
> > 
> > are only used in the file where they are defined, so they can as well be
> > static.
> > 
> 
> I have a script that tells you the unused and the ones you could make
> static. I didn't expect you cleaned all up! :)

With the list you provided, did not take much time to 'static-ify' the
others.

> 
> Do you want the list of unused?

Sure!

Christophe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20170301/8969fccd/attachment.sig>


More information about the Spice-devel mailing list