diff options
author | Christophe de Dinechin <dinechin@redhat.com> | 2017-11-10 16:15:43 +0100 |
---|---|---|
committer | Frediano Ziglio <fziglio@redhat.com> | 2017-11-10 15:37:12 +0000 |
commit | eba7b44d4c8e36d733f75ee73aff19d43198ad9a (patch) | |
tree | 2b4f44c8f8324bb20db9a0dab2581e4c307158e6 | |
parent | e33d72e585d807c03bf4970d5bc84af55b568e75 (diff) |
style: Use C++ style for declaring structs
Signed-off-by: Christophe de Dinechin <dinechin@redhat.com>
Acked-by: Frediano Ziglio <fziglio@redhat.com>
-rw-r--r-- | src/spice-streaming-agent.cpp | 10 |
1 files 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; |