[PATCH spice-streaming-agent v4 2/5] style: Use C++ style for declaring structs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Christophe de Dinechin <dinechin@xxxxxxxxxx>

Signed-off-by: Christophe de Dinechin <dinechin@xxxxxxxxxx>
---
 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;
-- 
2.13.5 (Apple Git-94)

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]