[Spice-devel] [spice-server 1/3] Remove duplicate typedef from headers

Christophe Fergeau cfergeau at redhat.com
Wed Mar 30 16:05:24 UTC 2016


On Wed, Mar 30, 2016 at 11:37:41AM -0400, Frediano Ziglio wrote:
> > Then reds-stream.h would need an additional #include "reds.h" as
> > otherwise build fails as some places are including reds-stream.h without
> > including reds.h

> 
> You can either use "struct RedsState" or "SpiceServer".
> There is only a single occurrence in reds-stream.h.
> 
But then you need to change reds-stream.c where there are a few more
occurrences, and then main-dispatcher.h expects to get the RedsState
definition from red-stream.h as well, so one more place to change plus
the corresponding .c file. I stopped there :)

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


More information about the Spice-devel mailing list