[Spice-devel] [PATCH spice-streaming-agent v4 2/5] style: Use C++ style for declaring structs
Frediano Ziglio
fziglio at redhat.com
Fri Nov 10 15:42:07 UTC 2017
>
> From: Christophe de Dinechin <dinechin at redhat.com>
>
> Signed-off-by: Christophe de Dinechin <dinechin at redhat.com>
> ---
> src/spice-streaming-agent.cpp | 10 ++++++----
> 1 file changed, 6 insertions(+), 4 deletions(-)
>
> diff --git a/src/spice-streaming-agent.cpp b/src/spice-streaming-agent.cpp
> index 7f93687..1090517 100644
> --- a/src/spice-streaming-agent.cpp
> +++ b/src/spice-streaming-agent.cpp
> @@ -39,15 +39,17 @@ using namespace SpiceStreamingAgent;
>
> static ConcreteAgent agent;
>
> -typedef struct {
> +struct SpiceStreamFormatMessage
> +{
> StreamDevHeader hdr;
> StreamMsgFormat msg;
> -} SpiceStreamFormatMessage;
> +};
>
> -typedef struct {
> +struct SpiceStreamDataMessage
> +{
> StreamDevHeader hdr;
> StreamMsgData msg;
> -} SpiceStreamDataMessage;
> +};
>
> static int streaming_requested;
> static bool quit;
Acked-by: Frediano Ziglio <fziglio at redhat.com>
Frediano
More information about the Spice-devel
mailing list