[Spice-devel] [PATCH spice-server 2/5] display-channel: Keep macro definition in one line

Pavel Grunt pgrunt at redhat.com
Wed Nov 18 05:22:26 PST 2015


From: Marc-André Lureau <marcandre.lureau at gmail.com>

---
 server/display-channel.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/server/display-channel.h b/server/display-channel.h
index b86d652..b81dbe2 100644
--- a/server/display-channel.h
+++ b/server/display-channel.h
@@ -211,8 +211,8 @@ struct DisplayChannelClient {
 
 #define DCC_TO_WORKER(dcc)                                              \
     (SPICE_CONTAINEROF((dcc)->common.base.channel, CommonChannel, base)->worker)
-#define DCC_TO_DC(dcc) SPICE_CONTAINEROF((dcc)->common.base.channel,    \
-                                         DisplayChannel, common.base)
+#define DCC_TO_DC(dcc)                                                  \
+     SPICE_CONTAINEROF((dcc)->common.base.channel, DisplayChannel, common.base)
 #define RCC_TO_DCC(rcc) SPICE_CONTAINEROF((rcc), DisplayChannelClient, common.base)
 
 
-- 
2.5.0



More information about the Spice-devel mailing list