[PATCH spice-common] proto: Use Empty keyword for empty message

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

 



No need to generate marshallers for it
---
 common/messages.h | 3 ---
 spice.proto       | 3 +--
 2 files changed, 1 insertion(+), 5 deletions(-)

diff --git a/common/messages.h b/common/messages.h
index 516a345..c787166 100644
--- a/common/messages.h
+++ b/common/messages.h
@@ -386,9 +386,6 @@ typedef struct SpiceMsgcDisplayStreamReport {
     uint32_t audio_delay;
 } SpiceMsgcDisplayStreamReport;
 
-typedef struct SpiceMsgcDisplayGlDrawDone {
-} SpiceMsgcDisplayGlDrawDone;
-
 typedef struct SpiceMsgCursorInit {
     SpicePoint16 position;
     uint16_t trail_length;
diff --git a/spice.proto b/spice.proto
index 0bfc515..3742ef1 100644
--- a/spice.proto
+++ b/spice.proto
@@ -983,8 +983,7 @@ channel DisplayChannel : BaseChannel {
         image_compression image_compression;
     } preferred_compression;
 
-    message {
-    } gl_draw_done;
+    Empty gl_draw_done;
 };
 
 flags16 keyboard_modifier_flags {
-- 
2.10.0

_______________________________________________
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]